Or if you prefer OO notation, my $fh = IO::File->new($filename, 'r')
In reply to Re: Directly assigning Filehandle by ikegami in thread Directly assigning Filehandle by songahji