in reply to filehandler stored in hash-ref
By the way, it's "file handle". A handle is a means of holding on to resource. A "file handler" would be a piece of code that that applies a process to a file in a situation where you also appply the process to something other than files.