in reply to phantom subroutine parameter values
This will happen when you call a sub with an ampersand but without any parentheses, like the following:
Doing so makes the calling sub's @_ visible to called subroutine. To avoid this, either omit the ampersand or include empty parens when calling a sub with no args. See perlsub for more info.
|Replies are listed 'Best First'.|
Re^2: phantom subroutine parameter values
by rpelak (Sexton) on Apr 15, 2008 at 03:53 UTC