in reply to Re^4: Running a packaged script using MozRepl
in thread Running a packaged script using MozRepl

Most likely by adding the appropriate command line to your pp configuration file.

Maybe it is

-M Future/HTTP/Tiny.pm

Replies are listed 'Best First'.
Re^6: Running a packaged script using MozRepl
by frazap (Monk) on Jul 20, 2017 at 06:54 UTC
    Thanks for the suggestion, but adding this to my hudge list does not cure the problem.

    I added

    END { print "$_ -> $INC{$_}\n" foreach sort keys %INC; }
    at the end of my script (following a post on this forum).

    I use this list to make my options list (which results in 152 lines). Among these was a call to

    -M WWW/Mechanize/Chrome/Node.pm
    That gives an error. Removing this line gives an exe that works at the end.

    The receipe from marto Re: Packaging a script using WWW::Mechanize::Firefox with using -x in running pp failed: my script died since it needs two filenames in argument, resulting in a empty log file

      WWW::Mechanize::Chrome::Node is an inner package of WWW::Mechanize::Chrome and lives in that same file.

      I'm not sure why it would show up in %INC, but you certainly can't find it in its own file.