![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Diamond errorsby hippo (Bishop) |
on Jan 21, 2023 at 17:48 UTC ( #11149749=note: print w/replies, xml ) | Need Help?? |
However, after the loop, there doesn't seem to be a way for the program to detect that a file wasn't processed. In real life, that could be awkward. Simple solution: use strictures.
That should make it pretty obvious even to the most obtuse of users that something has gone badly wrong. If you are after a less abrupt, more hand-holding approach then yes, I think it probably best to roll your own. 🦛
In Section
Seekers of Perl Wisdom
|
|