in reply to How do I reference methods?
Another stupid way:
use obj; $o = new obj; $ref = sub{$o->method(@_)}; #so if you want to call ref: #&ref('arg1','arg2'[,...]);
|
---|
In Section
Seekers of Perl Wisdom