CGI will do this fine:
use CGI qw(:standard); # import so no objects my $data = [Vars];
Update: Some explanation. CGI's Vars() method returns a hash of field-value pairs in list context, which it gets from the arrayref brackets in the $data assignment. The hash gets flattened and $data becomes an arrayref as you wanted. Watch out for multivalued data, it comes in a packed format that you may have to predigest for your test application.
After Compline,
Zaxo
In reply to Re: Parsing form post (content)
by Zaxo
in thread Parsing form post (content)
by mp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |