in reply to Re: Print on closed filehandle
in thread Print on closed filehandle

When in doubt you can check to see if OUT is "defined". ;)