in reply to Re^4: print-screen without non-core modules ?
in thread print-screen without non-core modules ?

Well, you did show us the code in question but didn't show us how you used pp to package it, however I'm not sure what your expectations are regarding the size of the executable generated. If you unzip the executable you can see everything which gets bundled up inside the package, the modules you use, their dependencies, the core modules, perl shared libs and so on. See The resulting files are huge! How can I reduce the size of the output file? from the PAR FAQ, and also PAR::Tutorial.

  • Comment on Re^5: print-screen without non-core modules ?

Replies are listed 'Best First'.
Re^6: print-screen without non-core modules ?
by palkia (Monk) on May 28, 2012 at 17:36 UTC
    I used pp by entrering "pp mechanisePpTest.pl" (& nothing else) in my terminal.
    Technically it seems to have all functions operational but the return value is very different

    When I referred to "length" it was the length of the string returned by the code,
    not the size of the pl & exe files.

    Hope that helps ^^

      Yup, you forgot to use the -x or -c option

      pp -x ...

        umm.. ok
        Than please tell me exactly (line by line) what should I type ?
        Please be explicit (for example exactly where does a new line is entered).
        I can't figure it out from the cpan page (nearly zero experience with the command line).
        Thx