Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: OO: Leaving a constructor midway?

by pdcawley (Hermit)
on Oct 25, 2003 at 06:15 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-05-20 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (72 votes). Check out past polls.

    Notices?