http://qs321.pair.com?node_id=765238


in reply to Remove bless reference or class/package name from method arguments

The technique from Give me something $self-ish might be of use.

(The isa test might be done a better way, eval wrapped as mentioned in the other replies)