in reply to Help! Stuck on methods to count file size.
is not the best way to open a file (check the precedence of operators). Try this:
open my $fh, "<", $filin or die $!;or:
open (my $fh, "<", $filin) || die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help! Stuck on methods to count file size.
by Anonymous Monk on Oct 11, 2013 at 02:31 UTC |