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
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.
|
|---|