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

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

Replies are listed 'Best First'.
Re^7: Running a packaged script using MozRepl
by Corion (Patriarch) on Jul 20, 2017 at 07:07 UTC

    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.