>>Yet another solution would be to use this: >> >>PerlSetVar Foo "first line" >>PerlAddVar Foo "second line" >>PerlAddVar Foo "third line" >> >>Or you can use the hack suggested by Steven. >> > > Interesting. It hadn't occurred to me that mod_perl would simply > append the values if Foo had several assigned. I'll consider that > too, but I think the hack suggested by Steven fits more neatly with > other substitutions I am doing with the string.
It doesn't append, it creates an array of strings which can be retrieved with ($r|$s)->dir_config. See: http://perl.apache.org/guide/config.html#PerlSetVar_PerlSetEnv_and_PerlP -- _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/