Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Handling non-fatal method error strings without exceptions or globals?

by Tanktalus (Canon)
on Jan 19, 2005 at 16:24 UTC ( #423426=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Result;
    
    ...
    }
    
    1;
    
  2. or download this
    require Result;
    sub complex_function {
    ...
      }
      return Result->new(1);
    }
    
  3. or download this
    unless (my $r = complex_function())
    {
      print "Error received: $r\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-12-26 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls