Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Can I get cpanm to skip re-installation of a module when pointing directly to a remote .tgz file?

by choroba (Cardinal)
on Oct 01, 2021 at 15:04 UTC ( [id://11137173]=note: print w/replies, xml ) Need Help??


in reply to Can I get cpanm to skip re-installation of a module when pointing directly to a remote .tgz file?

You can also use distroprefs. You can specify patches to apply upon installation and CPAN clients will happily apply them.

Just specify

$CPAN::Config->{prefs_dir} = ...; $CPAN::Config->{patches_dir} = ...;

See rurban's distroprefs for inspiration.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Can I get cpanm to skip re-installation of a module when pointing directly to a remote .tgz file?
by boleary (Scribe) on Sep 23, 2022 at 11:22 UTC

    I think this sounds like a good idea, but the inspiration I got from the link and the documents on cpan were not enough for me to figure out how to use it

    It sounds like I can download the latest distro, make the changes I want and create a patch file and then have distoprefs apply them?

    can it also patch the c code and .xs files if needed?

Log In?
Username:
Password:

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

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

    No recent polls found