You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by raptor <ra...@unacs.bg> on 2001/10/05 15:50:18 UTC
Setting Perl-stuff inside section
hi,
How can I set in <perl> section, say :
PerlModule Blah.pm
PerlSetVar XXX On
PerlSetVar YYY Off
and similar...
$VirtualHost{address} = {
PerlModule => 'Blah.pm',
PerlSetVar => { XXX => 'On', YYY => 'Off' }
};
!!?!
Thanx
=====
iVAN
raptor@unacs.bg
=====
Re: Setting Perl-stuff inside section
Posted by Perrin Harkins <pe...@elem.com>.
> @PerlModule = qw(Blah); # add others to the list
Might as well just say "use Blah;", I think.
- Perrin
Re: Setting Perl-stuff inside section
Posted by Scott Lanning <sl...@BUPHY.bu.edu>.
On Fri, 5 Oct 2001, raptor wrote:
>How can I set in <perl> section, say :
>
>PerlModule Blah.pm
>PerlSetVar XXX On
>PerlSetVar YYY Off
<perl>
@PerlModule = qw(Blah); # add others to the list
push @PerlSetVar, [ XXX => 'On' ];
push @PerlSetVar, [ YYY => 'Off' ];
</perl>
There's good examples in the eagle book, chapter 8.