Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Question on installing modules in local dir using PREFIX

by SilasTheMonk (Chaplain)
on Sep 23, 2010 at 20:13 UTC ( #861651=note: print w/replies, xml ) Need Help??


in reply to Question on installing modules in local dir using PREFIX

Could you post your Makefile.PL here. Also I would try studying ExtUtils::ModuleMaker and Module::Build for ideas?
  • Comment on Re: Question on installing modules in local dir using PREFIX

Replies are listed 'Best First'.
Re^2: Question on installing modules in local dir using PREFIX
by Anonymous Monk on Sep 23, 2010 at 21:13 UTC
    Hello,
    Thank you for the response. Here are the contents of Makefile.PL
    use 5.010000; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'XXXAUTO::PROVISION::Command', VERSION_FROM => 'lib/XXXAUTO/PROVISION/Command.pm', # finds $ +VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/XXXAUTO/PROVISION/Command.pm', # retriev +e abstract from module AUTHOR => 'XXX Auto Grp <auto@localdomain>') : ()), );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://861651]
help
Chatterbox?
[shmem]: .oO( addition of cookies for addiction to cookies )
[Lady_Aleena]: Other than my typos shmem. 8)
[shmem]: otherwise fine
[Discipulus]: tozzetti & vinsanto
[Lady_Aleena]: The whole line is push @line, ref($list_addition ) ? @$list_addition : $list_addition if $list_addition;
[Lady_Aleena]: And I forgot to do the array check, I'm such a doofus today.
[Lady_Aleena]: push @line, ref($list_addition ) eq 'ARRAY' ? @$list_addition : $list_addition if $list_addition; #trying again
[shmem]: Discipulus: yummy. I like those. Didn't have them for some time now, forgot the name. Should go get some...
[shmem]: Lasy_Aleena: correct, although for clarity I'd use an if() block, not a statement modifier
[shmem]: this allows you to add an else if maintainance makes it neccesary

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-04-27 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (504 votes). Check out past polls.