BTW I think the code in that slide has a memory leak. There seem to be circular references from $person to the subs, and back.
OTOH, yours doesn't, as you don't actually use the hash outside the closures.
In reply to Re: Multi-Method closures
by bart
in thread Multi-Method closures
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |