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' ];
In reply to Re^2: run perl script with cmd line in shell
by Anonymous Monk
in thread run perl script with cmd line in shell
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |