Geoffrey Young wrote:
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);
plus this is documented ;)
http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_notes_
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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