It's even easier than that! CGI's Vars returns the very hash you're looking for.
#!/usr/bin/perl -wT use strict; use CGI qw( header Vars ); my %FORM = Vars(); ### Bingo! print header( 'text/plain' ); $\ = "\r\n"; use Data::Dumper; print Dumper(\%FORM);
In reply to Re: Re: Using CGI param method
by TilRMan
in thread Using CGI param method
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |