in reply to Re: variables names used to define variables
in thread variables names used to define variables

There are no references to subs involved in finding methods when it comes to class or object method calling.
Not directly, but method invocation always involves symbol table lookups, which is just what a symref does.

Makeshifts last the longest.

  • Comment on Re^3: variables names used to define variables

Replies are listed 'Best First'.
Oh my
by Anonymous Monk on Dec 11, 2003 at 17:39 UTC
    ($sub =~ /^(.*)::/ ? $1 : __PACKAGE__)->can($sub)->();
      So you've replaced the symbolic lookup of $sub by a symbolic lookup of "can", which, if it reaches UNIVERSAL::can, results in a symbolic lookup for $sub. And now?

      Makeshifts last the longest.