note
Anonymous Monk
<P>To parrot [id://930329|this post]
<blockquote>Its because you did not use the -x option (or -c option)
<P><a href="http://www.google.com/search?q=site%3Aperlmonks.org%20%22pp%20-x%22%20PAR"><C>pp -x ...</C></a>
<P><a href="http://www.google.com/search?q=site%3Aperlmonks.org%20%22pp%20-c%22%20PAR"><C>pp -c ...</C></a>
<P>See also [id://826916|Re: Problem in creating exe using PAR module], [id://859138|Re^2: Packaging Perl Programs (is) Painful], [id://890161|Re: Building a Mojolicious app with PAR::Packer]
</blockquote>
<P><pre class="code"><div class="codeblock"><tt class="codetext">
$ pp -e " use Package::Stash; print qq{$_\n} for keys %INC; "
$ a.exe
Could not find a suitable Package::Stash implementation: Can't locate Package/Stash/XS.pm in @INC ...
$ pp -c -e " use Package::Stash; print qq{$_\n} for keys %INC; "
$ a.exe
attributes.pm
Compress/Raw/Zlib.pm
List/Util.pm
File/Find.pm
Cwd.pm
IO/Uncompress/Adapter/Inflate.pm
<B>Package/Stash/XS.pm</B>
Carp/Heavy.pm
...
<B>Package/Stash.pm</B>
...
</tt></div></pre>
930450
930450
2