perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Lenski <>
Subject Re: returning errors from Execute
Date Sun, 12 Feb 2006 22:37:08 GMT
On 2/12/06, Kathryn Andersen <> wrote:
> Why is that hard to parse?  Use perl regular expressions, that's one of
> the things it is good at.
> You'd just have to go
> foreach (@errors) {
>    if (/FIXME/) {
>      # respond to this error
>    }
> }
> That should enable you to respond to all the "FIXME" errors.

I agree that this is easy to do in the case of errors which are simply
strings.  However I would like to be able to return hash references as
errors, such as
with: croak \%error

The way that Execute returns errors right now, all I end up with is
the string representation HASH=0xdeadbeef.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message