Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: startup.pl mod_perl question

Quote Reply
Re: startup.pl mod_perl question In reply to
Oh, also, avoid:

BEGIN {
unshift(@INC, "/path /to//admin");
}

but rather:

use lib '/full/path/to/admin';

instead. If you use unshift @INC's inside code (not in begin blocks) you can grow INC indefinately.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread startup.pl mod_perl question CyberLuke 4471 Sep 5, 2000, 12:44 PM
Thread Re: startup.pl mod_perl question
pugdog 4357 Sep 5, 2000, 1:44 PM
Thread Re: startup.pl mod_perl question
CyberLuke 4344 Sep 5, 2000, 2:24 PM
Thread Re: startup.pl mod_perl question
Alex 4306 Sep 9, 2000, 10:56 AM
Thread Re: startup.pl mod_perl question
pugdog 4308 Sep 9, 2000, 4:19 PM
Post Re: startup.pl mod_perl question
Alex 4283 Sep 9, 2000, 4:44 PM
Post Re: startup.pl mod_perl question
Alex 4288 Sep 9, 2000, 4:45 PM