in reply to Bad Module Code
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 |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Bad Module Code
by exussum0 (Vicar) on Jul 11, 2003 at 19:34 UTC | |
by blue_cowdawg (Monsignor) on Jul 11, 2003 at 19:44 UTC |