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.
In reply to Re^2: Remove bless reference or class/package name from method arguments
by ikegami
in thread Remove bless reference or class/package name from method arguments
by binf-jw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |