more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
In the case of a single program or script, I would agree that it is unimportant that your function return anything if this is not needed. However, since this is a module, and intended for re-use, the function may be used in other situations that you might not anticipate. In this case, I believe that any function should return at minimum a 1 or 0 to indicate success/failure. Of course, as others have very astutely pointed out, your function does this anyways. </ajdelore> OT beef: How may vi users out there press Esc while editing text in the textarea field and lose everything they wrote? Grrr... In reply to Re: Bad Module Code
by ajdelore
|
|