Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello fireblood,
without something small to reproduce your error I can merely shoot in the dark.. but I'm lucky at this sometimes:) Is the filhandle select -ed somewhere? Is fileno returning something meaningful just before the call to close? use diagnostics tell you something more? It seems not be the case, but: is your handle a pipe open? from open docs: > If the filehandle came from a piped open, close returns false if one of the other syscalls involved fails or if its program exits with non-zero status. There is something weird in the environment of the linux box? There are threads involved? Also inspecting $^E can help at OS level
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. In reply to Re: Bad file descriptor when trying to close file handle
by Discipulus
|
|