Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Modify the Object

by tobyink (Abbot)
on Oct 02, 2012 at 16:02 UTC ( #996876=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Local::Class;
    sub new
    ...
    
    $obj->access_A(0);
    say $obj->access_A;   # says 2 !!!
    
  2. or download this
    sub access_A
    {
    ...
       $self->{A} = shift if @_;
       return $self->{A};
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-09-20 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (164 votes), past polls