Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Run a remote Perl script from within a Perl script with @ARGV

by salva (Abbot)
on Sep 26, 2012 at 08:24 UTC ( #995729=note: print w/replies, xml ) Need Help??


in reply to Run a remote Perl script from within a Perl script with @ARGV

use Net::OpenSSH; $s = Net::OpenSSH->new($WLS, master_opts => [-o => 'StrictHostKeyCheck +ing=no']); $s->system('./script_to_call.pl', $OldTime, $NewTime, "$WLSP/CDSServer +11.log");

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995729]
help
Chatterbox?
[ambrus]: choroba: heh heh... I have such a doc bug report somewhere. fixed by now.
[Corion]: Once upon a time I had automatic tests for checking the synopsis, but I stopped doing that because the setup was too fragile on CPAN testers for extracting code from the SYNOPSIS.
[Corion]: Maybe I should move the extraction of the code from the SYNOPSIS section into the author tests, or something like that...
[choroba]: Corion Sounds reasonable
[Corion]: choroba: Yeah - I basically have the same for regenerating README and README.mkdown already, except that I do that in Makefile.PL, but I guess one or the other thing should somehow work ;)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-02-27 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (383 votes). Check out past polls.