"Franck Fasano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I have recuperated a module from the web and I interfaced
> with it but STDOUT is closed .
> If I do a : print STDOUT "hello\n" in my script, nothing appeared .
>
> I don't know where STDOUT is closed and how to re-open it ?
>

I would try to figure out why its closed first.

say:

print STDOUT "hello\n" or die("Print failed: $!");

this will call die() if print() returns false, reporting the error.

Todd W



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to