in reply to How to CPAN dry run ?

On a related note, is there a good way to log all the unsatisfied dependencies without installing anything? On Cygwin I like to install modules from the Cygwin repository if available so they get updated etc. I often end up installing via cpan then look up all the newly installed dependencies and checking if any are available from Cygwin. Then I have to go back and remove from /usr/local/...

Replies are listed 'Best First'.
Re^2: How to CPAN dry run ?
by hippo (Archbishop) on Aug 30, 2024 at 18:10 UTC

    I believe that this is what cpanm --scandeps does, although note that this is marked as a deprecated feature.


    🦛

      Great! Strangely, when I tried this before it did not work, but now seems to. I may have been missing a dependency before and just assumed that "deprecated" was really now fully gone.

      Update: I searched my history to find where I tried it previously. It turns out there was a unicode point 151 (which shows nothing in the terminal) immediately following --scandeps, which caused cpanm to tell me 'Unknown option: scandeps'