Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Classes Are Killing Me

by ariels (Curate)
on May 19, 2002 at 06:27 UTC ( [id://167618]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub new
    {
        my $class = shift;
        return bless($Person::list,shift);
    }
    
  2. or download this
    sub new
    {
        my $class = shift;
        return bless({},$class);
    }
    
  3. or download this
    sub name 
    {
        my $self = shift;
        $self->{NAME} = shift;
    }
    
  4. or download this
    my $person = new Person;
    $person->name('Me');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found