in reply to Invoke object methods with a symbolic reference
But I don't know if that's any better than what you have. By the way, you don't need no strict subs, since this isn't considered a symbolic reference. In fact, no strict subs deals with barewords: not even related here!$a->can($a->{f})($a, 'foobar');
-- Randal L. Schwartz, Perl hacker
|
|---|