Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(Ovid - minor code nits) Re: Adding autoloaded methods to symbol table with using strict refs

by Ovid (Cardinal)
on Feb 25, 2002 at 21:23 UTC ( [id://147391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub AUTOLOAD {
        our $AUTOLOAD;
        ...
    }
    
  2. or download this
    sub new { # any constructor
        my ($proto) = shift;
    ...
        $self = {};            # create a new object
        bless($self, $class);
    } # new
    
  3. or download this
    sub new { # any constructor
        my $class = shift;
        my $self  = {}; # or some initializing routine
        bless $self, $class;
    } # new
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-25 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found