in reply to TIMTOWTDI Challenge: Open a file

To start things off, here is the trivial, fairly obvious case:
open my $fh, $rfile, 'r';
Should read
open my $fh, 'r', $rfile ;

Replies are listed 'Best First'.
Re^2: TIMTOWTDI Challenge: Open a file
by Juerd (Abbot) on Apr 18, 2006 at 10:59 UTC

    open my $fh, 'r', $rfile ;

    Should read

    open my $fh, '<', $rfile;

    And shame on those who upvoted the parent node... :-)