in reply to Re: Perl Module Object - Return fail/success with a fault string
in thread Perl Module Object - Return fail/success with a fault string
Kinda? but not really, the below doesn't seem to work
print "Sub failed with error: $rv" if (!$rv);
Meaning that it doesn't actually return a fail code, just a value of != 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Module Object - Return fail/success with a fault string
by BrowserUk (Patriarch) on Jan 03, 2012 at 19:56 UTC |