Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Writing to an output fileby 1nickt (Canon) |
on Apr 17, 2019 at 21:18 UTC ( [id://1232732]=note: print w/replies, xml ) | Need Help?? |
Hi, open(FH, '<', $filename) or die ... Better written as
So, if "<" is the second arg for when you want to read from a file ... See (please, for goodness' sake, see) https://perldoc.perl.org/perlintro.html#Files-and-I%2fO
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|