Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: OO: Leaving a constructor midway?

by jest (Pilgrim)
on Oct 22, 2003 at 14:54 UTC ( [id://301232]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $book = MyPackage->new( # stuff );
    
  2. or download this
    my $book = MyPackage->new( # stuff );
    print CGI::redirect(-uri=>"login.cgi?msg=$book->{error_msg}")
       unless $book->{login_successful};
    
  3. or download this
    print CGI::redirect(-uri=>"login.cgi?msg=$book->{no_access}")
      if $book->{user_access_level} < $book->{required_access_level};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found