Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Apocalypse 12

by jonadab (Parson)
on Apr 27, 2004 at 14:06 UTC ( #348486=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Re: Apocalypse 12
in thread Apocalypse 12

The block form of eval (like your example) can be parsed at compile time along with everything else. I think where the optimizer is going to have to be careful is if you use the string form of eval. In that case, some stuff just won't get optimized that otherwise could be. So the performance-is-vital people will be telling us not to use string eval, and I can safely ignore them if I don't care about optimization :-)

;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print

Comment on Re: Apocalypse 12

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348486]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-10-07 16:28 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (191 votes), past polls