Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Sören Stuckenbrock
>>>Nice, but see below >>> somescript.pl --- #!/usr/bin/perl -wT use strict; use lib "."; use lib_netContest; use DBI; use CGI (qw:standard:); use vars qw(%c $config_module $db_handle); my $r = shift; if (de

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Stas Bekman
Sören Stuckenbrock wrote: >>Nice, but see below >> >>>somescript.pl >>>--- >>>#!/usr/bin/perl -wT >>>use strict; >>>use lib "."; >>>use lib_netContest; >>>use DBI; >>>use CGI (qw:standard:); >>> >>>use vars qw(%c $config_module $db_handle); >>> >>>my $r = shift; >>>

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Sören Stuckenbrock
> Nice, but see below >> somescript.pl >> --- >> #!/usr/bin/perl -wT >> use strict; >> use lib "."; >> use lib_netContest; >> use DBI; >> use CGI (qw:standard:); >> >> use vars qw(%c $config_module $db_handle); >> >> my $r = shift; >> >> if (defined $r && $r->dir_co

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Stas Bekman
Sören Stuckenbrock wrote: > Hi, > > thanks to all of your help, I found a way to achieve the following > goal: Nice, but see below > somescript.pl > --- > #!/usr/bin/perl -wT > use strict; > use lib "."; > use lib_netContest; > use DBI; > use CGI (qw:standard:); >

SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Sören Stuckenbrock
Hi, thanks to all of your help, I found a way to achieve the following goal: - have a couple of instances of a web application running under the same (name based) virtual host, under different s each using a different configuration than the others - having backwards compatibillity to pure C