Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-09-20 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls