Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Update par packer executable

by Anonymous Monk
on Feb 28, 2012 at 16:26 UTC ( #956700=note: print w/replies, xml ) Need Help??

in reply to Update par packer executable

Main question: How can I remove some files from a par packed executable?


I'd recommend you don't, a lot of the files are there to make PAR and your program work :)

But if you insist, you should look inside PAR::Packer

Replies are listed 'Best First'.
Re^2: Update par packer executable
by Dirk80 (Monk) on Feb 28, 2012 at 19:23 UTC

    The files I want to remove are files from myself which I added with the "-a" option. So the files I want to remove have nothing to do with the files which PAR needs to get the program work.

      That begs the question, "why did you add these files if they are unnecessary"?


      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics

        I got the additional data from a config management tool. And this tool added ".metadata" folders which I don't want to have in the par packed executable.

        The error when creating the executable was not to delete the ".metadata" folders before.

        Now it's just technically interesting for me to see how I could change a self extractable archive like a par packed executable.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://956700]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-07-21 06:18 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (444 votes). Check out past polls.