Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Objects with Private Variables

by Excalibor (Monk)
on Jul 08, 2003 at 09:27 UTC ( #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
Node Status?
node history
Node Type: note [id://272227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-10-24 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls