Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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?

Why?

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


Comment on Re: Update par packer executable
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"?

      CountZero

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-09-22 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (189 votes), past polls