![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^2: Would someone mind helping me understand this Perl OO code?by romandas (Pilgrim) |
on Dec 22, 2009 at 15:59 UTC ( #813910=note: print w/replies, xml ) | Need Help?? |
Right. Which is what I meant by the 'one off' error - since $pkg is the first variable in the @_ argument list, it would mistakenly get $main::ip assigned to $Node::pkg, right? So is the code wrong? Like I said, it seems to work though.
In Section
Seekers of Perl Wisdom
|
|