XP is just a number | |
PerlMonks |
Re^3: Old Code reference wants new life as Object.by revdiablo (Prior) |
on Dec 08, 2006 at 23:11 UTC ( [id://588726]=note: print w/replies, xml ) | Need Help?? |
In that case, the easiest thing to do is probably:
This will create an anonymous code reference that makes a closure on $self, so everything should be in place when the code actually gets called. Update: Er, which is exactly what ikegami responded with. I guess I should have re-read the original replies before posting.
In Section
Seekers of Perl Wisdom
|
|