http://qs1969.pair.com?node_id=444237


in reply to invoking rsh and testing for success/failure

Alternatively, you can check the return code of the execution. (see perlvar)
my $cmd = "rsh $file"; # or whatever my $output = qx/$cmd/; # qx// is the same as `` my $rc = $?; # $? is a special Perl variable if ( $rc ) { print STDERR "No Match\n"; # you just want to print and continue, ri +ght? }
--------------
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."