public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6
• [syeeda:~] nothingmuch % perl -e 'open my $fh, "<", "/tmp/foo"; warn *{$fh}{IO}'
IO::Handle=IO(0x1008034c8) at -e line 1.
• [syeeda:~] nothingmuch % perl -MIO::Handle -e 'open my $fh, "<", "/tmp/foo"; warn *{$fh}{IO}'
IO::Handle=IO(0x1008034f8) at -e line 1.
• [syeeda:~] nothingmuch % perl -MFileHandle -e 'open my $fh, "<", "/tmp/foo"; warn *{$fh}{IO}'
FileHandle=IO(0x1008034f8) at -e line 1.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.