Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: OO: Leaving a constructor midway?

by pdcawley (Hermit)
on Oct 25, 2003 at 06:15 UTC ( [id://302035]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    die Exception::NoUser->new(-requested_uri => $request->uri);
    ...
    
  2. or download this
    my $result = eval { $app->process($request) };
    if ($@) {
    ...
                                -message => $@);
    }
    $self->emit($result);
    
  3. or download this
    sub process {
      my($self, $request) = @_;
    ...
      $self->user_has_required_access($user) or
        die Exception::InsufficientAccess->new(user => $user);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-18 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found