In PHP i can access this like array: $item[3],$item[45],...<input name=item[3] value=""> <input name=item[45] value=""> <input name=item[234] value="">
can i get params into array? @items = param("item"); doesn't work.
I can use cycle to get all members of array,
for($id=0;$id<10000;$id++){$item[$id]=param("item[$id]");}
but often @items contains only few items.
Maybe Perl have better way to get array in CGI?
In reply to Input arrays to CGI by Nightblade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |