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]
  • Comment on Re: Can I get cpanm to skip re-installation of a module when pointing directly to a remote .tgz file?
  • Select or Download Code

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?