Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Anonymous Monk
on May 29, 2012 at 02:04 UTC ( #972900=note: print w/ replies, xml ) Need Help??


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

You should type  pp -x foo.pl then hit enter, then the generated a.exe will have all the stuff it was missing before

Alternatively Cava Packager allows you much more control at a glance with a GUI frontend

See also How Command Line Parameters Are Parsed and Behind the GUI lives the Shell


Comment on Re^9: print-screen without non-core modules ?
Download Code
Re^10: print-screen without non-core modules ?
by palkia (Scribe) on May 29, 2012 at 17:39 UTC
    This one did run the program right, but as a pl file,
    within the terminal in which the pp -x foo.pl was entered.
    No exe file was created nor edited in the process.
    Also tried the regular pp foo.pl line before and after the pp -x foo.pl (seperated experiments) to confirm.
    Also tried (all) the above scenarios both with an existing exe and without (just in case), still nothing.
    This is so frustrating, what am I doing wrong ?

    I sorry if I'm missing something that seems trivial to more experienced programers,
    resulting in people feeling I'm wasting their time,
    but I'm really trying here and have no where else to ask (please have a little patience, and go easy with the "--" ^^).

    I've tried Cava Packager in the past but in seems extremely complicated and time consuming to master,
    and that's without considering the exe result is (if I remember correctly) about 200 times the pl's size.

      No exe file was created nor edited in the process.

      I find that hard to believe. At the very least, if no actual files were created, PAR/pp would have given you an error message. Turn on debugging.

      This is so frustrating, what am I doing wrong ?

      I really don't know, you're not giving me much to work with.

      without considering the exe result is (if I remember correctly) about 200 times the pl's size.

      How is that important (or different from PAR)?

        I find that hard to believe. At the very least, if no actual files were created, PAR/pp would have given you an error message. Turn on debugging.

        Actually I said "no exe" files.
        It did created 2 files but they seem to be useless.

        I really don't know, you're not giving me much to work with.

        Sorry about that ^^ (thx for not giving up on me).

        How is that important (or different from PAR)?

        Par only makes it only about 20 times bigger,
        so pretty big difference (but I won't be surprised if it's my misuse of "cava" ^^).

      "without considering the exe result is (if I remember correctly) about 200 times the pl's size.

      Did you read the links I provided in Re^5: print-screen without non-core modules ? explaining this? If so what part of this don't you understand? Ovbiously creating a package based on your code with all of the dependant modules, executables and libraries will be much larger than a few lines of perl code.

        I did read it, and I get the size increase, but 200 times ?
        pp only makes it 20 times bigger so, pretty big difference.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-07-30 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (235 votes), past polls