See https://github.com/miyagawa/cpanminus/pull/579 for my attempt at documenting this behavior. Carton 1.0.34 is the latest version.
-Dan On Thu, Nov 1, 2018 at 8:51 PM Karen Etheridge <p...@froods.org> wrote: > The 'dist' option is documented in Module::CPANfile, but the 'url' option > can only be found in the t/options.t test in the distribution -- so it must > be implemented at least partially, somehow. Maybe miyagawa can comment? > > On Thu, Nov 1, 2018 at 4:39 PM, Alex Muntada <al...@cpan.org> wrote: > >> Hi Karen, >> >> > You can also install locally patched modules with carton by >> > specifying a 'file:///' path in cpanfile: >> > >> > requires 'Foo::Bar', '0.123', url => >> > 'file:///local/path/Foo-Bar-0.123.tar.gz'; >> >> I tried this with latest Carton (v1.0.28) and it didn't work. >> Since I couldn't find any reference to an url attribute in >> Module::CPANfile, I'm wondering whether I'm missing something >> because this looks like a very nice feature. >> >> Can you provide some details or pointers on how it works? >> >> Thanks! >> Alex >> >> >