Re: local $@ has an unwanted side effect

2008-03-26 Thread Larry Wall
On Sun, Mar 23, 2008 at 01:28:06AM -0400, Mark J. Reed wrote: : On Sat, Mar 22, 2008 at 8:00 PM, Aristotle Pagaltzis <[EMAIL PROTECTED]> wrote: : > What does Perl 6 do in that respect? Maybe semantics could be : > borrowed from there? : : In which respect? : : TTBOMK, both eval's role as pseud

Re: local $@ has an unwanted side effect

2008-03-22 Thread Mark J. Reed
On Sat, Mar 22, 2008 at 8:00 PM, Aristotle Pagaltzis <[EMAIL PROTECTED]> wrote: > What does Perl 6 do in that respect? Maybe semantics could be > borrowed from there? In which respect? TTBOMK, both eval's role as pseudo-"try" and the $@ variable are gone in Perl6, which has a real "try" instead

Re: local $@ has an unwanted side effect

2008-03-22 Thread Aristotle Pagaltzis
* Rafael Garcia-Suarez <[EMAIL PROTECTED]> [2008-03-23 00:15]: > 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. What does