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

Re^5: perl eval

by johngg (Canon)
on Jul 05, 2010 at 19:34 UTC ( [id://848113]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $param = shift;
    eval $param;
    die $@ if $@;
    
  2. or download this
    $ perl spw848064 'system ls'
    reallyImportant.data  spw848064
    $
    
  3. or download this
    $ perl spw848064 'system qw{rm -f reallyImportant.data}'
    $
    
  4. or download this
    <!--$ perl spw848064 'system ls'
    spw848064
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found