Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by marto (Cardinal)
on May 28, 2012 at 08:32 UTC ( [id://972793]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://972793]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found