#!/opt/TLCLperl/bin/perl -w #!/usr/local/bin/perl -w # # use ssh to execute perl script remotely # # You can change PERL and REMOTE_CMD constants to reflect your real # environment... use constant PERL => 'perl'; # maybe "/usr/local/bin/perl" use constant REMOTE_CMD => 'ssh'; use constant CAT_CMD => 'cat'; use strict; use vars qw($VERSION); $VERSION = '1.00'; use constant USAGE => <] \\ [-R] \\ [-Q] \\ [] \\ <[@]remote_host>[,...] \\ [] \\ [