Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl: the Markov chain saw
 
PerlMonks  

Re: Using File::ShareDir in development

by Anonymous Monk
on Apr 18, 2011 at 11:08 UTC ( #899921=note: print w/ replies, xml ) Need Help??


in reply to Using File::ShareDir in development

Given this, does anyone know how I would access the shared files in development using the same code that will be deployed?

Install the module
set PERL_MB_OPT=--install_base /home/user/devstuff set PERL_MM_OPT=INSTALL_BASE=/home/user/devstuff
cpanp i Mo::Dule
cpan  Mo::Dule
perl Build.PL --install_base /home/user/devstuff
perl Makefile.PL  INSTALL_BASE=/home/user/devstuff
Then use it
set PERL5LIB=/home/user/devstuff/lib/perl5
use lib '/home/user/devstuff/lib/perl5';


Comment on Re: Using File::ShareDir in development
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://899921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-04-19 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls