Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Par::Packer, include conf files or not ?

by HJO (Acolyte)
on Sep 24, 2012 at 09:51 UTC ( #995334=note: print w/ replies, xml ) Need Help??


in reply to Re: Par::Packer, include conf files or not ?
in thread Par::Packer, include conf files or not ?

Hi,

First of all, thanks for your answer, then I appologize for the lack of information of my post or the (now obviously) absurdity that I've said.

"pp won't protect your source code. PAR::FAQ."

I did read this FAQ and I think I didn't express myself correctly, I do not intent to absolutely protect my code from everyone, I know it's simply impossible... What I intend to do is simply deliver a file.exe (on Windows) or a file.sh (on Unix), without the need to install all the modules and add all the libs. The file itself will not be a script.pl, but something a little bit less understandable and of a very simpler use...

"Just so you're sure, you'll need to create an exe to cover each binary platform"

Yes, that's basicaly what I intended to do, I would deliver the file "upon request" to the OS that have been specified

"How did it fail?"

Even if I know that fixing the installation issues I have will also answer my question, I didn't ask on my installation issues, I asked on the behavior of the module itself, so I didn't include a long log of my console when the installation failed (PAR::Packer has a lot a dependencies) to avoid unnecessary informations. If you think this information is necessary to answer me, I'll join it in the next answer

"pp see the -a option for adding files."

I already looked the CPAN presentation of pp (http://search.cpan.org/~rschupp/PAR-Packer-1.013/lib/pp.pm), but my question was intended for developpers which already used pp and knew if the packaged module was still able to read external files or if I had to include them.

Regards.


Comment on Re^2: Par::Packer, include conf files or not ?
Select or Download Code
Re^3: Par::Packer, include conf files or not ?
by marto (Chancellor) on Sep 24, 2012 at 09:57 UTC

    "Even if I know that fixing the installation issues I have will also answer my question, I didn't ask on my installation issues, I asked on the behavior of the module itself, so I didn't include a long log of my console when the installation failed (PAR::Packer has a lot a dependencies) to avoid unnecessary informations. If you think this information is necessary to answer me, I'll join it in the next answer"

    It's not required to answer your question, but if you can't install pp how to you expect to use it to develop and test your application in it's packaged form?

    "but my question was intended for developpers which already used pp and knew if the packaged module was still able to read external files or if I had to include them."

    I answered your question, of course a package generated by pp can read files external to it, since you're going to delopy to many servers which you may not have control over, do you think it's wise? Hence my pp -a suggestion. That said, had you a working pp installed you'd be able to test this for yourself.

      "but if you can't install pp how to you expect to use it to develop and test your application in it's packaged form?"

      I understand your point, and I'm working on that part of the problem.

      "of course a package generated by pp can read files external to it"

      That's what I needed to know, thanks. It wasn't obvious for me, I thought that the script was "converted" or so and was asking myself if the result will still be able to process some external files

      "since you're going to delopy to many servers which you may not have control over, do you think it's wise?"

      I think I'm going to follow my first though that you confirmed, I will include every single file in my package.

      "That said, had you a working pp installed you'd be able to test this for yourself."

      Yes, I know that and I'm going to try to install it properly to make my tests... If that doesn't work out well, I'll probably post something else in a few days... Anyway thank you for your answers

        Out of curiosity, how are you trying to install pp? On MS Windows (using Strawberry Perl), Linux and Solaris the following command works without problems:

        cpan pp

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2014-07-30 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls