Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: eval expr & eval BLOCK

by ikegami (Patriarch)
on Aug 02, 2006 at 05:21 UTC ( [id://565162]=note: print w/replies, xml ) Need Help??


in reply to eval expr & eval BLOCK

eval BLOCK is used to catch exception. It's called try in other languages. It's perfectly safe.

eval EXPR is used to compile and execute code. While it does catch exceptions, that's not it's main purpose. It should be avoided as much as possible, and its use should raise big warning flags.

Replies are listed 'Best First'.
Re^2: eval expr & eval BLOCK
by VSarkiss (Monsignor) on Aug 02, 2006 at 17:22 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found