open $hash{'t'},"test.txt"; ... @lines = <$hash{'t'}>; print @lines; # end up with a GLOB pointer, # not the contents of the file close $hash{'t"];