Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
No, but nothing is stopping you from making your own global (package) variable or object attribute. For example, DBI has $DBI::err and $DBI::errstr. You could throw an exception object, where one method returns an error code and another returns an error string. You could return an error object that overrides booleanification (false on error), numification (error code) and stringification (error message), but that's probably too magical. In reply to Re: Returning external library status codes from an XS routine
by ikegami
|
|