Thanks for all your replies however Compress::Zlib was added to core at version 5.9.3 whereas the preinstalled version of perl in Solaris 10 and some linux distros is earlier than that (5.8.4 for Solaris 10, 5.8.8 for Centos 5) Solaris 10 is everywhere in the Banking sector and when Linux is used, you only get version 5.8.8.
I have argued long and hard to get a modern version of perl installed but Banks won't install anything to Production if it doesn't have vendor support and so I am stuck with 5.8.4. This problem exists throughout the Banking sector and probably other sectors too. Also, the version of perl on Solaris 10 is built with the sun c compiler and most banks wil only provide gcc as the compiler so it is awkward to build modules and often the gcc libraries are not allowed in Production. I am trying to address this by providing a native perl mechanism which will work on any OS which you can just put somewhere and access it via PERL5LIB, then download whatever par files you want and it just works On Friday, April 5, 2013, Konovalov, Vadim (Vadim)** CTR ** wrote: > > 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. >