You know what? The mod_perl people are freaking geniuses.
This works: <Perl > warn __FILE__, " - ", __LINE__, "\n"; </Perl> crackerjack:/home/faraway/dev# apache2ctl stop /home/faraway/dev/test.conf - 5 That is sooooooooo slick! - Tyler Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > its part of Apache Request > > it should be the location container > > i misinterpreted yoru question though. sorry about that .. its not > what you needed. i thought you meant what directory mapping its > being evaluated from. > > you're looking for the mod_perl equivalent of the php scriptname or > whatever its called. that i don't know. > > sorry for the confusion. > > > > On Feb 22, 2006, at 7:32 PM, Tyler MacDonald wrote: > > > What class is that method a part of? I didn't see anything about > >"location" in PerlSections... > > > > Apache2::Directive seems to have what I'm after (filename and > >line_num methods), if I cold only get a Apache2::Directive object > >representing the current <Perl> section.. > > > > - Tyler > > >