[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: variable substitution in perl xssi doesn't seem to work?
From: Doug Bagley <doug () dejanews ! com>
Date: 1998-06-27 3:53:41
[Download RAW message or body]
Doug MacEachern wrote:
> The King of France <kof@dejanews.com> wrote:
>
> > If I have the following in a server parsed .shtml file:
> >
> > <!--#set var="FOO" value="BAR" -->
> > <!--#perl sub="My::Function" arg="$FOO" -->
> >
> > I was hoping that My::Function would see "BAR", but instead it sees "$FOO".
> > The mod_include docs seem to indicate that the XSSI way is to have my
> > variable evaluated in double quoted strings when referenced as $FOO or
> > ${FOO} ...
>
> Try this patch.
>
> -Doug
Works like a charm. Thanks Doug! Your support is phenomenal.
Cheers,
Doug
--
http://www.dejanews.com/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic