$fh->opened
fh
Returns true if the object is currently a valid file descriptor.
Copyright © 2001 O'Reilly & Associates. All rights reserved.