Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Bad Module Codeby blue_cowdawg (Monsignor) |
on Jul 11, 2003 at 16:03 UTC ( [id://273442]=note: print w/replies, xml ) | Need Help?? |
Well... It is probably a bad idea to have subs anywhere that don't return values for at least some form of "I was able to do that" or "bad things happened to me" kinds of flags to the calling environment. This is regardless of if you are writing a module or simply a procedure oriented piece of code. Having said that I violate my own rule all the time when I am coding in a hurry.
In Section
Seekers of Perl Wisdom
|
|