Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Cannot access form values

by InfiniteLoop (Hermit)
on Apr 04, 2005 at 11:23 UTC ( [id://444623]=note: print w/replies, xml ) Need Help??


in reply to Cannot access form values

No I have'nt come across such issue, but it is worth dumping the environment variables and checking the form field names. Ofcourse you can use Data::Dumper

Replies are listed 'Best First'.
Re^2: Cannot access form values
by Anonymous Monk on Apr 04, 2005 at 11:53 UTC
    use CGI qw/:standard/;
    .....
    my $query = new CGI;
    IMPACT::Common::logRecord(Dumper($query));
    .....
    

    the above code returns the following:

    $VAR1 = bless( {
            '.charset' => 'ISO-8859-1',
            '.parameters' => [],
            '.fieldnames' => {}
            }, 'CGI' );
    
      use CGI qw/:standard/;
      Why are you importing ':standard'? Do not mix OO and function style use of CGI.pm. You're probably using the param function, and it's already read the form data.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://444623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found