On Mon, 17 Mar 2003, Perrin Harkins wrote:
> Goehring, Chuck Mr., RCI - San Diego wrote:
> > Where do you put your .pm files for application-specific code?
>
> Under mod_perl 1, I just put them in /lib/perl, which is
> automatically added to @INC by mod_perl. Can someone confirm if this
> sti
)
Subject: Re: Where do you put your stuff?
Goehring, Chuck Mr., RCI - San Diego wrote:
> Where do you put your .pm files for application-specific code?
Under mod_perl 1, I just put them in /lib/perl, which is
automatically added to @INC by mod_perl. Can someone confirm if this
st
Goehring, Chuck Mr., RCI - San Diego wrote:
Where do you put your .pm files for application-specific code?
Under mod_perl 1, I just put them in /lib/perl, which is
automatically added to @INC by mod_perl. Can someone confirm if this
still works for mp2?
Of course you can just put a "use lib"
To all,
Years ago, I found a module called FindBin that at least seamed to solved many
problems. I use it in mod_perl code (I'm on Win 2000) like this:
use FindBin qw($Bin);
use lib "$Bin/sims";# Directory for specific application.
use lib "$Bin/common"; # Directory