[vox-tech] Perl Question - Laying out modules
Jay Strauss
vox-tech@lists.lugod.org
Sat, 9 Aug 2003 10:20:38 -0500
Hi,
I'm using h2xs to build my package skeletons. I'm putting my files in:
~/lib/perl/src. All my package are in the application space MyApp. So for
example if I do:
cd ~/lib/perl
h2xs -A -X -n MyApp::Module1
So, I end up having a .pm file in:
~/lib/perl/MyApp/Module1/Module1.pm
I don't want to:
perl Makefile.PL
make
make install
everytime I edit one, because they're constantly changing because I'm still
writing them. And I don't want to install them (yet).
Instead I just want them in my @INC.
So what I've been doing is:
export PERL5LIB=~/lib/perl/MyApp
cd $PERLLIB
ln -s ~/lib/perl/src/MyApp/*/*.pm .
Is there a better way to do this? Maybe there is a proper method for using
packages that are in development
Thanks
Jay