Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

eval a command

by Xantara (Initiate)
on Feb 21, 2013 at 14:01 UTC ( #1019950=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     eval $cmd
    
  2. or download this
    "Perl Command Line Interpreter has encountered a problem and needs to 
    +close"
    
  3. or download this
    foreach (@commands) {
       $cmd = $_;
    ...
          eval $cmd;
       }
    }
    
  4. or download this
    sub Do {
        my ($self, $cmd, $time_out) = @_;
    ...
        $retVal = $self->Pass_Conf_Ind(@lines, $cmd);   
        return wantarray ? ($retVal, $result) : $retVal;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-09-18 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (118 votes), past polls