molecules has asked for the wisdom of the Perl Monks concerning the following question:
Several years ago I "learned" somehow that in Perl we should theoretically check all print statements, because there could be funny system problems like a full disk or other things that we otherwise wouldn't know about.
But behold, I was told, autodie will take care of all of that print checking for you. THIS IS NOT TRUE. Just now I read in autodie's documentation on CPAN that it specifically does not check print.
So, how important is checking print statements? I assume it would depend on the application and/or system. Once in a blue moon, one of the cluster environments that I use has funny file writing issues (which err on the side of not writing), so it is something I worry about.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: print or die?
by fishmonger (Chaplain) on Mar 14, 2014 at 14:20 UTC | |
Re: print or die?
by Anonymous Monk on Mar 14, 2014 at 13:37 UTC | |
Re: print or die?
by robby_dobby (Hermit) on Mar 14, 2014 at 13:21 UTC | |
by dave_the_m (Monsignor) on Mar 14, 2014 at 19:04 UTC | |
by robby_dobby (Hermit) on Mar 18, 2014 at 14:56 UTC |