Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Apache::Request->param() failing on POSTs

by geektron (Curate)
on Jun 16, 2005 at 02:32 UTC ( [id://467144]=note: print w/replies, xml ) Need Help??


in reply to Re: Apache::Request->param() failing on POSTs
in thread Apache::Request->param() failing on POSTs

i get:
Can't use an undefined value as a HASH reference at ...

using:

warn "debug:" . $pass->{r}->content->{year} . " " . $pass->{r}->content->{foundation};
which is the same, just no temp var.

could i be missing something in my mod_perl install? that's all i can think of ...

Replies are listed 'Best First'.
Re^3: Apache::Request->param() failing on POSTs
by BaldPenguin (Friar) on Jun 16, 2005 at 15:36 UTC
    That could be important, Apache::Request uses that process for getting the POST content, which can only be read once. Maybe the content is already pulled somewhere. That would cause your original error and the undefined value error as well.

    How is $pass being defined?

    Don
    WHITEPAGES.COM | INC

    Edit by castaway: Closed small tag in signature

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found