Try with:
$SIG{$_} = sub { exit 42; } for keys %SIG; END { exit 42; }
If, with that change, the code keeps on returning 255 sometimes, you know that the cause is not in the code. Don't forget to remove it afterwards!
--
David Serrano
In reply to Re: PERL exit code 255
by Hue-Bond
in thread PERL exit code 255
by mcintst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |