in reply to random array - a newer twist
You are misusing &CGI::param. I believe your usage sets the value of the 'aware02' field to an array of the remaining arguments and returns that array to @array.
Here's how to do what you want:
my @array= map {[param($_)]} ( 'aware02', 'aware03', 'aware04', 'aware05', 'aware06', 'aware07', 'aware08', 'aware09', 'aware10', 'aware11', 'aware12', 'aware13', 'aware14');
The square brackets are in the map block to take care of any multiple valued fields. You'll need to dereference the array elements to get their values.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: random array - a newer twist
by felwick (Sexton) on Nov 05, 2002 at 23:13 UTC | |
by Zaxo (Archbishop) on Nov 05, 2002 at 23:24 UTC | |
by Anonymous Monk on Nov 05, 2002 at 23:42 UTC |