No such thing as a small change | |
PerlMonks |
Re^3: solving modulo troubleby Laurent_R (Canon) |
on Jun 21, 2015 at 11:17 UTC ( [id://1131326]=note: print w/replies, xml ) | Need Help?? |
Hi Datz_cozee75,
in these code lines: you only warn if the file could be opened, and, immediately after (and in some other places as well), you try to print to that file handle. I would suggest that a failure to open a file where you want to write is probably a severe enough error for you to want the program to die rather than simply warn. Only my two cents...
In Section
Seekers of Perl Wisdom
|
|