Michael Taylor wrote:
> I am having problems trying to migrate some Perl code (that I didn't write) from
> mod_perl 1 (and libapreq 1) to mod_perl 2 (and libapreq2).
> 
> I don't understand why I having problems with this simple code example.

>         $apr->notes( 'mm_secure' => 0 );

looks like this syntax is only available via the compat layer.  so, you'll
want to

  use Apache::compat;

in your script and keep things the way they are, or change the code to

  use APR::Table ();
  ...
  $apr->notes->set('mm_secure' => 0);

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