Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Sendind severals CMDs via SSH2 by using Net::SSH2::Expect module. Any other faster way?

by eandalu01 (Initiate)
on Oct 23, 2013 at 16:26 UTC ( [id://1059324]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1) option handler
    2) Subroutine Connection
    3) Sub routine Cmds:
    
  2. or download this
    print "Insert option number and press ENTER:\n";
            
    ...
          yield();
          $startTime = [gettimeofday];
    
  3. or download this
    sub Connection {
    
    ...
         }                                                                
    +   
    
    }
    
  4. or download this
    sub FillCmd {
    
    ...
       
    
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found