in reply to Parsing form post (content)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Parsing form post (content)
by mp (Deacon) on Aug 29, 2002 at 19:19 UTC |