thanks for the help ...
i tried
system("/usr/bin/fetchmail -aK -f /tmp/$uid.rc")==0 or die "command failed:
$!($?)\n";
but still, does not display the exit code ...
any suggestion?
> On Dec 4, J-E-N said:
>
> >below is my script but its not working as it should
> >
> >system("command") or di
On Dec 4, J-E-N said:
>below is my script but its not working as it should
>
>system("command") or die "command failed: $?\n";
system() returns 0 on SUCCESS, not failure.
system("command") == 0 or die "command failed: $! ($?)";
perldoc -f system
--
Jeff "japhy" Pinyan [EMAIL PROTECTED