Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Try string, not block

by GrandFather (Sage)
on Sep 12, 2012 at 08:15 UTC ( #993176=note: print w/ replies, xml ) Need Help??

in reply to Try string, not block

Don't use string eval. Use block eval instead. Try::Tiny is pretty much just syntactic sugar wrapped around a block eval in any case.

String eval is open to vast abuse and, for the code you have shown, is simply not needed. If you do need to use string eval ugly is good.

True laziness is hard work

Comment on Re: Try string, not block

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-11-25 04:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (670 votes), past polls