bodmin has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
A quick and easy one - is it possible to tell whether a system call has been executed properly?
I have the following which does not appear to create a directory, nor give the error message:
system ("mkdir($NEW_AGENDA_ROOT,0777)") || die(" Failed to create directory $NEW_AGENDA_ROOT.");
Any ideas?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: System Calls
by broquaint (Abbot) on Jul 07, 2003 at 09:16 UTC | |
Re: System Calls
by choocroot (Friar) on Jul 07, 2003 at 09:39 UTC | |
Re: System Calls
by ant9000 (Monk) on Jul 07, 2003 at 09:34 UTC |