I try to
pp @ppopts.txt -o cotes.exe cotes.pl
Where ppopts.txt contains
-M MozRepl -M MozRepl::Client -M MozRepl::Log -M MozRepl::Plugin::JSON -M MozRepl/Plugin/Repl/Back.pm -M MozRepl/Plugin/Repl/Enter.pm -M MozRepl/Plugin/Repl/Home.pm -M MozRepl/Plugin/Repl/Inspect.pm -M MozRepl/Plugin/Repl/Load.pm -M MozRepl/Plugin/Repl/Print.pm -M MozRepl/Plugin/Repl/Rename.pm -M MozRepl/Plugin/Repl/Search.pm -M MozRepl/Plugin/Repl/Util/DocFor.pm -M MozRepl/Plugin/Repl/Util/HelpUrlFor.pm -M MozRepl/Plugin/Repl/Util/DocFor.pm -M MozRepl/Plugin/Repl/Util/HelpUrlFor.pm -M MozRepl/Util.pm
The script cotes.pl runs ok, but the exe made witn the line above fails with
Failed to connect to , Can't locate object method "setup" via package +"MozRepl::Client" at MozRepl.pm line 224.
Thanks for any suggestion F.

In reply to Packaging a script using WWW::Mechanize::Firefox by frazap

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.