> Hi all. New to embperl. So far I love it. I have the basics set up and
> working fine. base.epl and inheritence is also working great.
>
> My question is, is there a way I can store the document requested to a
> variable in the base.epl file. So if a user clicks on a link that points
> to "/embperl/aboutme/index.html", I can assign that string to a variable
> in /embperl/aboutme/base.epl or even /embperl/base.epl if
> /embperl/aboutme/base.epl does not exist. I would like to do some perl
> magic to change what is displayed depending on the document requested.
>
> I was thinking there would be a default variable that holds this info but
> I didn't find anything in the documentation.
>
> Thanks,
> Brian
>

I found it. Looks like all I needed was to use $ENV{REQUEST_URI} variable.

Thanks and keep up the good work with embperl!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to