in reply to PERL exit code 255

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

Replies are listed 'Best First'.
Re^2: PERL exit code 255
by Sandy (Curate) on Oct 04, 2006 at 14:26 UTC