|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: What does this mean?by Perlbotics (Monsignor) |
| on Aug 20, 2012 at 19:55 UTC ( #988498=note: print w/ replies, xml ) | Need Help?? |
|
It's a common setter/getter idiom however with an unfortunate chosen method name setID. 'get' attribute: no argument given, so $id is undefined, current value of $self->{_id} is returned 'set' attribute (and 'get' new value at the same time)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||