Paul Flinders wrote:
Stas Bekman wrote:

Paul Flinders wrote:

At present I'm not getting much further than the start-up code. The
sequence

my $s = Apache->server;

 my $uid = $s->uid;
 my $gid = $s->gid;

gives me

Syntax error at /etc/httpd/conf.d/perl.conf:66
  Can't locate object method "uid" via package "Apache::Server"
  at /usr/lib/perl5/site_perl/5.8.0/Apache/PageKit.pm line 61.


Paul, you've just spotted two methods that we have forgotten to port to mp2.


Ah, good (in the sense that it wasn't something that I missed
in the documentation).

Actually PageKit doesn't seem to use the values - will have a more
detailed look after the W/E and check on the PageKit mailing lists.

I definitely think that Apache::compat (and Apache::porting) should include
these methods.

Include yes, but how should it be coded. Once we figure out that part it'll be in Apache::porting as well.



__________________________________________________________________ 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


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to