Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: eval string possibilities

by eyepopslikeamosquito (Archbishop)
on Nov 22, 2004 at 04:40 UTC ( [id://409482]=note: print w/replies, xml ) Need Help??


in reply to eval string possibilities

Generally, I agree with merlyn (•Re^2: Dynamically constructed function calls) and use string eval only as a last resort. Block eval, of course, is another matter, and I use that frequently for exception handling.

A recent example of string eval (Re: rename files to upcase) that springs to mind is Larry's famous rename script.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-18 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found