Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: What Are The Rules For Subs And Modules When Fed Wrong Input

by lofichurch (Beadle)
on Jul 22, 2002 at 19:42 UTC ( [id://184203]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if($object->method) { .. } else { my $error = $object->error(); }
    
  2. or download this
    sub foo {
    
    ...
             return(1);
             }
    }
    
  3. or download this
    sub error {
    
    ...
    
     return($self->{'Error'});
    }
    
  4. or download this
    sub raise_error {
    
    ...
     $self->{'Raise'} = $_[0] if( defined($_[0]) );
     return($self->{'Raise'});
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-06-23 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.