RE: releasing program

"Puetz Kevin A" <[email protected]> Mon, 27 Nov 2006 10:37:11 -0600
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
To package a perl script&dependencies, the tool I've had the best luck with is PAR (http://search.cpan.org/~smueller/PAR-0.959/). This can package to either, a standalone .pl script (needs perl and core modules, ships anything else you used),a .par archive (basically like .jar, a zip variant, needs PAR's parl executable on the target machien but nothing else), or (on most platforms), a native executable that doesn't need anything else preinstalled (though this is generally several megabytes, since this is accomplished by embedding a captive copy of parl). 

If you have several scripts in the same package, you can also package certain modules into their own par to avoid getting a copy of them embedded into each script.I usually do at least:
	pp -B -p -M utf8 -o unicore.par -e 1
to create an archive of all the unicore stuff , since it shaves a lot of size out of the individual scripts.
You can then use "-X unicore.par" when packaging the individual scripts, and they will skip embedding any modules that it included (of course, you have to ship unicore.par in the installer too for this to work).

Since you ask about installers, I assume you are targeting win32? I use the open-source tool InnoSetup (http://jrsoftware.org) and have been quite happy with it.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Anders Stegmann
Sent: Thursday, November 23, 2006 6:43 AM
To: [email protected]
Subject: releasing program

Hi!

After much hair pulling and confusion
(other things than flash() doesn't work on my windows
system)
I am near the point were I can wrap things up in my Perl/Tk program.
I have never tried it before, so I hope somebody here can answer the question:

Where can I find out more about releasing a program?


In my program there is a "File" menu with the well known options:
Open, Save, Print ect.
I need to link these options to their function.
I also have to make it installable and create icons and such.
Surely I don't have to start from scrach.

Regards Anders.


 


	
	
		
__________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og notesblok. http://dk.mail.yahoo.com
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk


--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk