in reply to Re^2: Using an IO::File object stored in a Hash.
in thread Using an IO::File object stored in a Hash.

You said:

my $line3 = <$hash{'handle'}>;

Perl interprets <$hash{handle}> as this: glob(qq<$hash{handle}>), which is not what you want, and it's why you're getting the glob ref itself printing.

As stated, you can use readline(), or extract out the handle before you use it:

my $fh = $hash{handle}; my $text = <$fh>;