in reply to Re^5: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval
in thread create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval

CLI::Simple is one of the prereqs for Module::ScanDeps::Static . It installs the perl script create-modulino (with no .pl extension) in the bin/ when it install, as shown here. In the previous v0.0.9 of that distro, the bin directory included both the create-modulino and create-modulino.pl -- so with an older version of the CLI::Simple, that postamble in Module::ScanDeps::Static probably would have worked in a linux environment:

Yep, I installed CLI::Simple in my Ubuntu setup, and then installed Module::ScanDeps::Static, and it failed for

destdir=; \ test -n "$destdir" && destdir="-d $destdir"; \ create-modulino.pl -m Module::ScanDeps::FindRequires \ -a find-requires $destdir -b /home/pryrt/delme/bin /bin/sh: 3: create-modulino.pl: not found

Whereas, if I install CLI::Simple@0.0.9 and then Module::ScanDeps::Static, it passed, including the install. So it's definitely caused by the upstream repo not including the .pl version of the script in the bin installation.

The funny thing is, BIGFOOT is the owner of both Module::ScanDeps::Static and CLI::Simple, so should have noticed that changing the prereq would have influenced the postamble of the other distro.

reported

  • Comment on Re^6: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval
  • Select or Download Code

Replies are listed 'Best First'.
Re^7: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval
by Intrepid (Curate) on Sep 28, 2025 at 01:06 UTC

    We were working on parallel investigations today, pryrt ;-) I made the same discoveries you reported above. BIGFOOT messed up ... there I said it ;-). But I know well that such things happen to the best of us.

    For those a little curious about this create-modulino.pl, but not curious enough to build CLI::Simple just to look at one script, I've set up a gist with that script.

        —Soren