in reply to Re^4: CGI Action call
in thread CGI Action call
What you wrote above has nothing to do with the assignment of subroutine parameters.
shift will only move one element from the parameter list. A hash will occupy multiple slots in the parameter list. You need to learn about how Perl passes parameters in subroutine calls.
param(...) is only for CGI parameters and has no bearing on subroutine parameters.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: CGI Action call
by tultalk (Monk) on Mar 12, 2018 at 22:12 UTC |