http://qs321.pair.com?node_id=131734


in reply to Re: Re: Re: CGI.pm problems
in thread CGI.pm problems

That's the problem, I don't even know where to start with using the cgi.pm stuff. Look at the agent I wrote and how it produces its output. Because there is no key-value pair, I can't use param().

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: CGI.pm problems
by perrin (Chancellor) on Dec 14, 2001 at 00:34 UTC
    POST'ed data typically does have a key/value pair. To find out what yours is, dump out all of them by using @names = $query->param.

    You can have the people submitting this data use "XML" for the key. They just need to URI encode the XML data, which they are supposed to do anyway.

    You question would be better phrased as "How do I read POST data that was submitted without a parameter name?" You might want to rephrase it and post it again.