Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Why don't some CPAN modules append perllocal?

by Anonymous Monk
on Jan 29, 2023 at 12:37 UTC ( [id://11150017]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Why don't some CPAN modules append perllocal?
in thread Why don't some CPAN modules append perllocal?

Some modules only have Build.PL, others have both Build.PL and Makefile.PL.
  • Comment on Re^4: Why don't some CPAN modules append perllocal?

Replies are listed 'Best First'.
Re^5: Why don't some CPAN modules append perllocal?
by syphilis (Archbishop) on Jan 29, 2023 at 13:58 UTC
    Some modules only have Build.PL, others have both Build.PL and Makefile.PL

    If there's no Makefile.PL, then it seems you're stuck with building the module using Module::Build - and therefore perllocal will not be updated. (I suppose you could always hack your way around the issue, but that might be tedious.)
    OTOH, if there is a Makefile.PL, then perllocal should be updated if (and only if) you build the module using ExtUtils::MakeMaker,

    Annoyingly, my cpanm installation will use the Build.PL if both Makefile.PL and Build.PL are available.
    Maybe it's possible to reconfigure cpanm to default to using the Makefile.PL when both Makefile.PL and Build.PL are available. (I don't know.)
    I haven't checked to see how the cpan utility handles distros that contain both Makefile.PL and Build.PL.

    Modules that I author have never contained a Build.PL. And, for as long as I have control over them, I intend that they never will contain a Build.PL.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150017]
help
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-04-23 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found