Welcome to the Monastery | |
PerlMonks |
Re: How to implement closures in Packageby tfrayner (Curate) |
on Mar 13, 2007 at 11:03 UTC ( [id://604504]=note: print w/replies, xml ) | Need Help?? |
Hi, You're just missing the assignment to $self in greet(): This should then work as you expect. Cheers, Tim
In Section
Seekers of Perl Wisdom
|
|