in reply to Re: Perl System command
in thread Perl System command

Add a
$error >>= 8;
between your first and last line to get a more accurate value.

Abigail