in reply to Re: feedback on subroutine as both function and method in onein thread feedback on subroutine as both function and method in one
my $cgi = $self_or_default(@_); $cgi->param(@_); # oops, now I have an extra CGI as first arg. [download]