in reply to Re: feedback on subroutine as both function and method in one
in thread feedback on subroutine as both function and method in one

It's interesting that it always does the unshift, even if it's not called in array context. I could see that being a problem when subclassing CGI:

my $cgi = $self_or_default(@_); $cgi->param(@_); # oops, now I have an extra CGI as first arg.