in reply to Directly assigning Filehandle

you can use scalar variable to hold filehandles. See below:

open(my $filehandle, '<', '/path/to/file') || die "$!\n";

open


They say that time changes things, but you actually have to change them yourself.

—Andy Warhol