RE: Finding currently executing filename

2004-09-19 Thread Gerald Richter
> > How do I find the name of the currently executing file from > Embperl under Apache? I can find the top level file using > $ENV{PATH_TRANSLATED}, but this won't work for sub-executes > IN Embperl 2 use $epreq -> component -> sourcefile In Embperl 1.3 use $r = shift ; $r -> Sourcefile

Finding currently executing filename

2004-09-15 Thread Chris Allen
How do I find the name of the currently executing file from Embperl under Apache? I can find the top level file using $ENV{PATH_TRANSLATED}, but this won't work for sub-executes for example: foo.html: [- Execute('bar.html') -] --- ba