Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[stevieb]: je ne pas parles en Francais, but I prefer a vape, not a pipe ;)
[RonW]: shmem++ # too dumb to debug it

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2017-03-28 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (342 votes). Check out past polls.