Re: closed filehandle

2001-05-31 Thread Randal L. Schwartz
> "Morbus" == Morbus Iff <[EMAIL PROTECTED]> writes: Morbus> open(PIPE_TO, "your-filename"); Morbus> print PIPE_TO "burp!"; Morbus> close PIPE_TO; Morbus> print PIPE_TO "sadness"; Morbus> The "burp" line will print to the file correctly (assuming we were Morbus> able to creat

Re: closed filehandle

2001-05-31 Thread Morbus Iff
>what does a closed filehandle error mean? i'm trying to write to a log >and yes, the permissions for the directory and the log are 777. A closed filehandle means that the pipe (ie., the tunnel that connects your perl script to the innards of the file) is no longer there. See the examples bel

Re: closed filehandle more info

2001-05-31 Thread Nichole Bialczyk
i just realized that i shouldn't even be getting that error, b/c i am using one of the machines that i told it NOT to write to the log. i should have skipped the log subroutine completely and entered the site. On Thu, May 31, 2001 at 01:18:04PM -0500, Nichole Bialczyk wrote: > what does a close