Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: getting 2 things done at once with Class::Base

by jZed (Prior)
on Oct 31, 2007 at 18:46 UTC ( [id://648326]=note: print w/replies, xml ) Need Help??


in reply to getting 2 things done at once with Class::Base

This technique is heavily used in DBI internals. Look at any DBD and you'll see lots of things like:
return $dbh->set_err( $DBI::stderr, "Invalid attribute '$attrib'" );
which sets the error to be acted on by RaiseError or PrintError or called explicitly with $h->errstr() and then returns undef.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://648326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-16 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found