Re: New mod_perl website [Was Re: Modifying @INC via startup.pl]

2002-05-20 Thread Stas Bekman
Drew Taylor wrote: > This is a little OT, but I really love the new look of the website you > mention below. Major kudos to all those who helped put together the new > look-n-feel & content. Thanks Drew, but please hold off on any comments, since we are still tuning the design to work better i

New mod_perl website [Was Re: Modifying @INC via startup.pl]

2002-05-20 Thread Drew Taylor
This is a little OT, but I really love the new look of the website you mention below. Major kudos to all those who helped put together the new look-n-feel & content. Drew >At 11:53 PM 5/19/2002 +0200, you wrote: >>Thank you very much Gregory, I have patches the online docs. >> >>By the way, th

Apache::DBI debugging (was: Re: Modifying @INC via startup.pl)

2002-05-20 Thread Per Einar Ellefsen
At 23:36 19.05.2002, Gregory Matthews wrote: >># Initialize the database connections for each child >>Apache::DBI->connect_on_init >>("DBI:mysql:database=test;host=localhost", "user","password", >>{ PrintError => 1, # warn() on errors >>RaiseError => 0, # don't die on error >>AutoCommit => 1, # c

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
you can use >>>>> PERL5LIB: >>>>> > >>>>> > PerlSetEnv PERL5LIB /path >>>>> > >>>>> > in your httpd.conf. >>>>> > >>>>> > This is all I can come up with, sorry. >>>>

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
gt;>> > >>>@INC still cannot find my config.pl file. If I add the use lib >>> > >>>statement to my script, all is o.k.. If I try to add it to my >>> > >>>startup.pl and call it at startup time, I get the error from @INC. >>> &

Re: Modifying @INC via startup.pl

2002-05-19 Thread Per Einar Ellefsen
d call it at startup time, I get the error from @INC. >> > >> >> > >>Are you sure you are loading your startup.pl file before your module? >> > >>Are you sure it's getting loaded at all? >> > >>Try adding a debug statem

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
; >> > > >>print STDERR 'Loading startup.pl @INC = ', join ":", @INC; > > >> > > >>after your "use lib" part. > > >> > > >>>At 06:16 PM 5/18/2002 -0400, you wrote: > > >>>>I did

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
? > > >>Try adding a debug statement in your startup.pl: > > >> > > >>print STDERR 'Loading startup.pl @INC = ', join ":", @INC; > > >> > > >>after your "use lib" part. > > >> > > >>

Re: Modifying @INC via startup.pl

2002-05-19 Thread Per Einar Ellefsen
this: >>>> >>>>use lib qw(); >>>> >>>>That adds the path to @INC. Someone correct me if that's the wrong way >>>>to do >>>>things >>>> >>>>- Original Message - >>>>From: "Gregory

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
2 -0400, you wrote: >>>I did this: >>> >>>use lib qw(); >>> >>>That adds the path to @INC. Someone correct me if that's the wrong way to do >>>things >>> >>>- Original Message - >>>From: &quo

Re: Modifying @INC via startup.pl

2002-05-19 Thread Gregory Matthews
gt; >>>use lib qw(); >>> >>>That adds the path to @INC. Someone correct me if that's the wrong way to do >>>things >>> >>>- Original Message - >>>From: "Gregory Matthews" <[EMAIL PROTECTED]> >>>To: <

Re: Modifying @INC via startup.pl

2002-05-19 Thread Per Einar Ellefsen
>At 06:16 PM 5/18/2002 -0400, you wrote: >>I did this: >> >>use lib qw(); >> >>That adds the path to @INC. Someone correct me if that's the wrong way to do >>things >> >>- Original Message - >>From: "Gregory Matthews"

Re: Modifying @INC via startup.pl

2002-05-18 Thread PinkFreud
om: Gregory Matthews <[EMAIL PROTECTED]> > Subject: Re: Modifying @INC via startup.pl > Cc: [EMAIL PROTECTED] > > Tried that...doesn't work either. > > @INC still cannot find my config.pl file. If I add the use lib statement > to my script, all is o.k.. If I try to a

Re: Modifying @INC via startup.pl

2002-05-18 Thread Gregory Matthews
t; >use lib qw(); > >That adds the path to @INC. Someone correct me if that's the wrong way to do >things > >- Original Message - >From: "Gregory Matthews" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Saturday, May 18, 2002 6:12

Re: Modifying @INC via startup.pl

2002-05-18 Thread Jaberwocky
I did this: use lib qw(); That adds the path to @INC. Someone correct me if that's the wrong way to do things - Original Message - From: "Gregory Matthews" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 6:12 PM Subject: Modifying @

Modifying @INC via startup.pl

2002-05-18 Thread Gregory Matthews
I am trying to: use lib qw(/dir/foo); in my startup.pl file but @INC is NOT showing the path. I keep getting "Can't locate config.pl in @INC" errors after restarting the server and calling the script. My prog reads: require qq(config.pl); I am not sure what is going on. @INC shows: (@INC c