Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 studying the Monastery: (7)
As of 2014-12-25 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (162 votes), past polls