"R. Joseph Newton" wrote:
>
> "John W. Krahn" wrote:
>
> > open() returns 'true' if the file was opened or 'false' if the file was
> > not opened.
>
> Not exactly. At least not on my Perl installation [5.6.1 on W2K]. open
> returns 1 on success, but does not return a value on failure.
perldoc -f open
[snip]
Open returns nonzero upon success, the undefined
value otherwise. If the `open' involved a pipe,
the return value happens to be the pid of the
subprocess.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]