in reply to Using Shift with Parameters in a subroutine
These refs should be references to hash tables.sub foo{ my ($query_ref, $session_ref) = @_; }
In general, passing 10 parameters to a sub is not a good idea. Better is reference to a hash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Shift with Parameters in a subroutine
by capstan (Novice) on Oct 23, 2014 at 16:34 UTC | |
by perlron (Pilgrim) on Oct 25, 2014 at 17:59 UTC | |
|
Re^2: Using Shift with Parameters in a subroutine
by perlron (Pilgrim) on Oct 22, 2014 at 08:27 UTC |