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

Re^3: How to tell EU::MM to install a pure-perl module into an architecture-specific location

by hippo (Bishop)
on Sep 23, 2022 at 12:43 UTC ( [id://11147086]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to tell EU::MM to install a pure-perl module into an architecture-specific location
in thread How to tell EU::MM to install a pure-perl module into an architecture-specific location

This looks to have some effect at least. It may be what you are after.

#!/usr/bin/perl use strict; use warnings; use ExtUtils::MakeMaker; use Config; my %MF = ( macro => { INSTALLSITELIB => $Config{installsitearch} } ); WriteMakefile (%MF); exit;

🦛

Replies are listed 'Best First'.
Re^4: How to tell EU::MM to install a pure-perl module into an architecture-specific location
by syphilis (Archbishop) on Sep 24, 2022 at 03:18 UTC
    macro => { INSTALLSITELIB => $Config{installsitearch} }

    Thanks hippo - that WriteMakefile() argument does exactly what I want.
    And "macro" is a valid argument going all the way back to EU-MM-6.17 (and probably beyond) - so it should certainly suffice for a module that (intentionally) doesn't work on perls older than 5.22.0.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147086]
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-03-28 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found