> my $apr = Apache::Request->new( $r );
> my $in = $apr->param;
> 
> if ( $in->{'form_data_key'} ) {
>       # ... do something ...
> }
> else {
>       $in->{'form_data_key'} = 'some value';
> }
> 
> $r->print( $in->{'form_data_key'} );
> 
> When I read this value from a POST or a GET everything works happily.
> When I try to add something to the table the add happens without event,
> but I can not read the set value back.
> 
> Am I missing something in how APR::Table works or is there a better
> construct I should be using?

I personally never use the tied hash construct.  try

  $in->set('form_data_key' => 'some value');
  $in->get('form_data_key');

instead.

HTH

--Geoff


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to