(Yeah, I know you know that, but others might find it neat.)my $foo = bless {}, "bar"; my $meth = sub {shift; print shift}; $foo->$meth("Sneaky");
In reply to Re (tilly) 2: Pointers to member functions
by tilly
in thread Pointers to member functions
by ariels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |