in reply to Re: TIMTOWTDI Challenge: Open a file
in thread TIMTOWTDI Challenge: Open a file

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

Should read

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

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