note
dragonchild
What's wrong with <code>$object->get_error</code>? This way you can have object-specific errors.
<p><i>Obviously (as I confirmed in a CB session with tye,theorbtwo and others) I cannot return error strings that are logically false, but I'd like to preserve the illusion.</i>
<p>That's not entirely true. You can use [cpan://overload] to create an object that will return a string when stringified and false when boolified. And, frankly, that's what I'd do if you're not going to allow exceptions or globals, but still require an error string.
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-85580">
<p align="center"><i><font size="-2">Being right, does not endow the right to be rude; politeness costs nothing.<br>Being unknowing, is not the same as being stupid.<br>Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.<br>Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.</font></i></p>
</div></div>
423402
423402