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

As for the use CGI; I just didn't remove it from the example. It makes no difference if I remove it.

So this is the "roll-your-own" version? Why didn't you post the CGI.pm version that you're having trouble with? If you want help fixing your CGI.pm code, you will have to actually post it for people to look at.

Replies are listed 'Best First'.
Re: Re: Re: Re: CGI.pm problems
by c-era (Curate) on Dec 13, 2001 at 23:56 UTC
    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().
      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.