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.
| Peter L. Berghold | Brewer of Belgian Ales |
| Peter@Berghold.Net | www.berghold.net |
| Unix Professional | |
In reply to Re: Bad Module Code
by blue_cowdawg
in thread Bad Module Code
by CodeJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |