No such thing as a small change | |
PerlMonks |
(tye)Re: Nice style for interesting error messagesby tye (Sage) |
on Jan 24, 2001 at 21:39 UTC ( [id://54053]=note: print w/replies, xml ) | Need Help?? |
If success is uninteresting, then return an uninteresting result, that is, "". Then return the reason for failure (as a string, coded number, whatever) in the case of failure. system() already acts this way so it should not be too confusing for people (that is what documentation is for). - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|