Thank you to everyone who has responded to my query.

I have finally figured out why I was not getting output back from my online form. It took me 3 days to realise where the issue lay. Other's might benefit from this, I hope.

I designed my XML form to work with Javascript, and did not consider Perl at that time. As a result, I did not use a "name" attribute in the XML file, and only had the "id" attribute for all the INPUT elements. Perl does not read "id", but reads "name". Of course this resulted in an empty Query String using GET and zero Content Length using POST.

As soon as I added the "name" attribute to my XML, it worked.

If I am wrong and there is some way that Perl CGI reads "id", I stand corrected and that will enhance my knowledge further.

I would also like to say, that I have started using CGI.pm which certainly makes life easier

Irvy


In reply to Re^10: %ENV is returning a blank by irvy
in thread %ENV is returning a blank by irvy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.