Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 romping around the Monastery: (15)
As of 2015-07-06 13:33 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 (74 votes), past polls