jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
I also do not know how many vals are available, so I cannot do:$r = &mySub(@inpbd, @val) ; $dummy = "@val" ; $r = &mySub(@inpbd, qw($dummy)) ;
which does work!!@r = &mySub(@inpDB, "$val1","$val2","$val3");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: qw and $vars or @vars
by g0n (Priest) on Jan 26, 2006 at 11:52 UTC | |
|
Re: qw and $vars or @vars
by jeanluca (Deacon) on Jan 26, 2006 at 12:05 UTC |