|Keep It Simple, Stupid|
STDIN ..???by virtualweb (Sexton)
|on Jan 03, 2010 at 02:20 UTC||Need Help??|
virtualweb has asked for the
wisdom of the Perl Monks concerning the following question:
Im trying to make a generic Form Handler script, (so the script will not know the field names).
I downloaded many free readily available Form Handler scripts just to see how they handle the collection of "names" and "values" from the HTML form.
All of them have a parsing routine.
But my script doesnt work with a parsing routine since Im using:
So basically if I wanted to use file names I would do this:
$Whatever = $q->param('Whatever');
But the thing is that the script is supposed to be generic.. in other words handle any number of field names not knowing the field name previuosly.
I found a small snippet of code to get any info coming to a script
But I understand this is used to received data from a file.
Is there a comparable snippet of code to received any data from a form without a parsing routine..??