Spidy has asked for the wisdom of the Perl Monks concerning the following question:
For passing multiple arguments as scalars/arrays...but I don't think that would work with a hash. Anyone know how I'd do it?my ($varOne,$varTwo) = @_;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing hashes as arguments to a sub?
by ikegami (Patriarch) on Nov 28, 2005 at 17:54 UTC | |
|
Re: Passing hashes as arguments to a sub?
by wfsp (Abbot) on Nov 28, 2005 at 17:50 UTC | |
|
Re: Passing hashes as arguments to a sub?
by rinceWind (Monsignor) on Nov 28, 2005 at 18:00 UTC | |
|
Re: Passing hashes as arguments to a sub?
by jimbojones (Friar) on Nov 28, 2005 at 21:30 UTC | |
|
Re: Passing hashes as arguments to a sub?
by eff_i_g (Curate) on Nov 28, 2005 at 18:11 UTC | |
by leocharre (Priest) on Nov 28, 2005 at 19:29 UTC |