in reply to Re: run perl script with cmd line in shell
in thread run perl script with cmd line in shell
Is there a reason why something like ssh user@server perl - $cmdlinArgtoscrpt < script.pl would not work?
use Data::Dumper; print Dumper(\@ARGV); # testing: $ ssh someserver perl - aoeu snth < localscript.pl $VAR1 = [ 'aoeu', 'snth' ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: run perl script with cmd line in shell
by Anonymous Monk on Apr 16, 2012 at 19:35 UTC | |
by icoder (Novice) on Apr 18, 2012 at 08:42 UTC | |
|
Re^3: run perl script with cmd line in shell
by Anonymous Monk on Apr 18, 2012 at 08:22 UTC |