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

Or just
sub pow { return $_[-2] ** $_[-1]; }

Approaches that rely on the number of arguments rather than the type of arguments are going to be more resilient.

  • Comment on Re^2: Remove bless reference or class/package name from method arguments
  • Download Code