>   package main;
>   sub somefunc { ... }

>   use MyPackage;
>   my $mypkg = new MyPackage;   

>   func($mypkg, @args);     # $mypkg->func(@args)

>So, the first one will always be MyPackage::func, and the last one will
>always be $object->func, because there is no main::func.

But when would you know that?  You have to look inside at run-time.
This precludes precomputing where *func lives, as current occurs.

--tom

Reply via email to