Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (6)
As of 2015-08-01 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls