Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Objects with Private Variables

by Excalibor (Pilgrim)
on Jul 08, 2003 at 09:27 UTC ( [id://272227]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Person;
    
    ...
             " and I'm ", 
             $self->AGE, "!\n";
    }
    
  2. or download this
    package main;
    
    ...
    
    # this doesn't
    $person->('TOES', 12);
    
  3. or download this
    Hello, I'm John Doe and I'm 23!
    Hello, I'm John Doe and I'm 24!
    Method 'TOES' unknown for class Person at Person.pl line 59
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-03-28 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found