Another common strategy is to return true/false to be interpreted normally and then make the error available elsewhere. For instance DBI does this, with the error in the errstr method.
A cute idea that I just had is that you could return a true value for success, and an overloaded false string for failure.
In reply to Re^3: Need help with a conceptual speed bump
by tilly
in thread Need help with a conceptual speed bump
by mstone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |