(this seemed not to go through last time I sent it, daemon returned a failure)

I'm working on expanding a module I wrote a while back and one of the things I'm
adding is an input filter. I'd like to have bad input return an error (to $!
perhaps/preferably) so you could write something like:

&function() or die "Error: $!";

.. but if the input is fine it returns either the input (as it's currently
designed) or a true value (the easier way). Either way I was wondering how to
set $! since = doesn't seem to work.

~wren

Reply via email to