Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I use this setup:

export PERL5LIB=/home/dakkar/localperl:$PERL5LIB export PERL5_CPANPLUS_CONFIG=/home/dakkar/.cpanplus/config export PERL_MM_OPT='INSTALLDIRS=perl LIB=/home/dakkar/localperl/ INSTA +LLBIN=/home/dakkar/bin INSTALLSCRIPT=/home/dakkar/bin/ INSTALLMAN1DIR +=/home/dakkar/man/man1 INSTALLMAN3DIR=/home/dakkar/man/man3' function MyBuild { perl Build.PL \ --install_path lib=/home/dakkar/localperl/lib/ \ --install_path arch=/home/dakkar/localperl/lib/i686-linux-thre +ad-multi/ \ --install_path script=/home/dakkar/bin/ \ --install_path bin=/home/dakkar/bin/ \ --install_path bindoc=/home/dakkar/man/man1 \ --install_path libdoc=/home/dakkar/man/man3 \ "$@" } export MANPATH=/home/dakkar/man:$MANPATH

This way, I have my modules in ~/localperl and scripts and manpages go in usable places. It works both with MakeMaker and Module::Build, provided you use MyBuild instead of perl Build.PL. It also has a localized CPANPLUS config, with the same parameters set per both build systems.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)


In reply to Re: CPAN + PREFIX + Module::Build by dakkar
in thread CPAN + PREFIX + Module::Build by mdi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-29 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found