that will give you the error code of the syscommand/script.my $errorCode = system(SYSCOMMAND/SCRIPT);
will give you the error message maybe checking $! will help you toomy $errorMessage = `SYSCOMMAND/SCRIPT`; # back ticks
In reply to Re: "Exception" handling and more...
by hotshot
in thread "Exception" handling and more...
by r.joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |