Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Try string, not block

by GrandFather (Cardinal)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-09-20 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls