> From: Roderich Schupp
> On Fri, Apr 5, 2013 at 12:08 AM, Tony Edwardson wrote:
> 
> > For this to work, I need to be able to create a native perl 
> module (without
> > dependency on any os specific modules or shared libraries) 
> which is able to
> > use these par files.
> > Unfortunately, the PAR module relies on Archive::Zip which 
> in turn needs the
> > Compress::Raw::Zlib module which are OS specific needing a compiler.
> > I would like to create a PAR::Lite module which performs a 
> subset of the PAR
> > functionality using something like Compress::Zlib::Perl to 
> just handle using
> > PAR files as an additional resource of CPAN modules.
> 
> That's a bogus argument. AFAIK any recent Perl distribution 
> (on Windows)
> already includes Archive::Zip and its dependencies.

to say more, 

perl core contains "Compress::Zlib" for long time already
(hence - any distribution surely has it too)
and Archive::Zip is pure-perl, which (mostly) depends on Compress::Zlib,

so even if distribution lacks Archive::Zip - C compiler is not needed
to install Archive::Zip...

Still, there is little need for pure-perl PAR.


> 
> People on the list might correct me, but I think the major use of the
> PAR family of modules is not to create jar-like archives, but 
> to create
> standalone executables. 


However there is a pearl in idea to have a number of feature-stuffed PAR
files and use these like JARs...


In Tcl/TK there are "kit"s and these are really worth looking at,

for example there is a file "tkgamepack.kit" which is 2.7Mb in size
and contains some 90+ little games.... :o
There are other interesting applications as single-file KIT.

very impressive.

these kit-s are executed with an executable file of some 3Mb - 
no UNZIP into temporaries, just assoziate ".kit" extension with
this executable, and you're done.

Reply via email to