Subject: | No error message displayed during error handling |
The exit on error via call croak() does not display the cause of the
error on all perl installations.
Conditions: any
* Distribution name and version: Net::Rsh v0.02
* Perl version: v5.8.0 built for alpha-dec_osf
* Operating System: HP Tru64
OSF1 b01 V5.1 2650 alpha
The call to croak expects a 'string' as argument.
Line in error:
} else {croak $!;}
Output:
at tstrsh.pl line 11
Proposed correction:
} else { croak("$!"); }
New output:
Permission denied at tstrsh.pl line 11