Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 wandering the Monastery: (8)
As of 2014-08-31 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls