Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 ( #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
Node Status?
node history
Node Type: note [id://147391]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-07-08 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls