in reply to RFC: "Best Practices" code review section

my $fh; open($fh, '<', $filename) or die "can't open $filename: $!"
it's probably offtopic for this thread, but i have to comment on that =)
i prefer
open(my $fh, '<', $filename) or die "can't open $filename: $!";

Replies are listed 'Best First'.
Re^2: RFC: "Best Practices" code review section
by rvosa (Curate) on Aug 04, 2005 at 19:32 UTC
    Ha! Now we're talking :)