develooper Front page | perl.perl5.porters | Postings from March 2008

Re: local $@ has an unwanted side effect

Thread Previous | Thread Next
From:
Jim Cromie
Date:
March 23, 2008 05:26
Subject:
Re: local $@ has an unwanted side effect
Message ID:
47E64C72.7040405@gmail.com
Rafael Garcia-Suarez wrote:
> On 21/03/2008, Dr.Ruud <rvtol+news@isolution.nl> wrote:
>   
>>  > So should we introduce an automatic localization of $@ before
>>  > destruction?
>>
>>
>> Just leave $@ as is, and introduce @@.
>>     
>
> I agree that the behaviour of $@ is very hard to modify right now in
> Perl 5. It has many complications and many people have worked around
> features or misfeatures in many ways. Introducing a parallel system
> might work.
>
>   
dare we add try { stuff } or handle_exception.. ?



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About