You have to accept:
as the same as:PKG::safe_sub( "PKG", $other_args);
PKG::safe_sub( $other_args); safe_sub PKG $other_args;
Also I think you want
as your test.shift if ref $_[0] eq "PKG" or $_[0] eq "PKG";
In reply to Re: Calling Madness
by rir
in thread Calling Madness
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |