<[EMAIL PROTECTED]> wrote: > On Thu, Feb 15, 2001 at 10:04:51AM -0300, Branden wrote: > > Why `do FILE' behaves like eval, if there's eval to do it? Isn't this a > > little too much not-orthogonal? Why don't we require `eval { do FILE }' to > > have the behaviour of not dying and setting $@ ? > > And that would gains us what exactly? > > As the Perl man page says, do FILE is like > scalar eval `cat FILE`; > If you take out the eval, you get: > scalar `cat FILE`; > which is pretty pointless. > > I find a "let's require some extra hoops and red tape" not very-Perl like. > Perl is there for the programmer; not the other way around. > Please read ``Larry's talk in Atlanta about Perl 6'', the text is in http://dev.perl.org/~ask/als/larry-als.txt, you can find it in http://dev.perl.org. Read the fifth paragraph under `[Simplifications]'. - Branden
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- End-of-scope actions: Reference model 2.0.2.1. Tony Olekshy
- End-of-scope actions: Error messages. Tony Olekshy
- End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Glenn Linderman
- Re: End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Bart Lateur
- Re: End-of-scope actions: do/eval duality. Branden
- Re: End-of-scope actions: do/eval duality... abigail
- Re: End-of-scope actions: do/eval du... Branden
- Re: End-of-scope actions: do/eva... abigail
- Re: End-of-scope actions: do/eva... Simon Cozens
- Re: End-of-scope actions: do/eval duality... Bart Lateur
- Re: End-of-scope actions: do/eval duality. Glenn Linderman
- End-of-scope actions: Garbage collection. Tony Olekshy
- Re: End-of-scope actions: Garbage collection. Dan Sugalski
- Re: End-of-scope actions: Garbage collection. Tony Olekshy
- Re: End-of-scope actions: Garbage collection. Dan Sugalski
- Re: End-of-scope actions: Garbage collect... Tony Olekshy
- End-of-scope actions: Toward a hybrid approach. Tony Olekshy