in reply to Re: how to get table data in cgi after submitting the form?
in thread how to get table data in cgi after submitting the form?

Don't know what you're initializing CGI.pm with (I always use CGI qw(:standard) ), but in my scripts I can access the form fields just by saying param('foo'), or if I want to cycle through them, param($_) for param() . Your method seems a bit wordy.
  • Comment on Re^2: how to get table data in cgi after submitting the form?

Replies are listed 'Best First'.
Re^3: how to get table data in cgi after submitting the form?
by thomas895 (Deacon) on Apr 10, 2012 at 04:06 UTC
    Your method seems a bit wordy.

    I do it for verbosity, so that the OP gets exactly what I mean. You're right -- I could have done it using the :standard method, but I personally dislike that method.
    My initialisation of the CGI object is just $cgi = new CGI;

    ~Thomas~