thanks ikegami,
it was not my intention to recreate cgi - i was just following the instructions as it were.
Basically I need to be doing something along these lines then(see code), although the input element names are being returned where the values are not. yet...
#! /usr/bin/perl -w use strict; use warnings; use CGI; use CGI::Carp qw(fatalsToBrowser), qw(warningsToBrowser); my ($webmaster, $user, $name, @names, $value, @values, $query); $query = CGI->new; $webmaster = "http\:\/\/www.mysite.com\/"; @names= $query->param; foreach $name(@names){ $value = $query->param('$name'); push(@values, $value); } print "Content-type: text/plain\r\n\r\n"; print "names @names \n\n"; print "values: @values \n\n"; exit(0);
In reply to Re^2: globbed variable in parse cgi form - beyond me
by Don Coyote
in thread globbed variable in parse cgi form - beyond me
by Don Coyote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |