in reply to Archive::Zip Compaitibility Issues??

Hi,
what happens if you click Start->Run->type 'cmd'->type 'perl -MArchive::Zip -e1'? Meaning: is Archive::Zip properly installed?
Regards,
svenXY
  • Comment on Re: Archive::Zip Compaitibility Issues??

Replies are listed 'Best First'.
Re^2: Archive::Zip Compaitibility Issues??
by Commy_Code_Monkey (Acolyte) on Dec 15, 2008 at 15:51 UTC
    Hey thanks for the promt reply, typing 'perl -MArchive::Zip -e1' in the command prompt does nothing
    C:\>perl -MArchive::Zip -el C:\>
    No error, no anything. I'm using the GUI PPM to install packages, and it has installed correctly for every other module i've ever installed.
      So you have the module Archive:Zip... though perhaps your module is too old. You should try to load it with the tags to import. On the command line, try
      perl -MArchive::Zip=:ERROR_CODES,:CONSTANTS -e1
      or just one of them, if it fails with both.

      If that doesn't work, try upgrading the module. You could ask for the current version first:

      perl -MArchive::Zip -le "print $Archive::Zip::VERSION"
      (Windows quotes)

      and check on CPAN if that version supports these tags, to see if that would likely fix it.

      Hi,
      it was 'e1' (1 like the number one, not like L), but anyway - that at least shows that the module is indeed installed properly as otherwise it would have had complained loudly.

      Now I'd go and test some of the basic code supplied in Archive::Zip in a non-TK (a.k.a. known as command line) script on your box and verify that whatever you try to achieve works there. After that, put it back into your Tk-script and proceed. Aah - and don't forget to use strictures!

      Regards,
      svenXY

      I looked up the module on CPAN, and according to the dependencies list it should install. Try downloading from CPAN. I do use Archive::Zip on my XP box running AS 5.10 and it works great. I grab all my modules from CPAN though.

      The only other thing I can come up with is that you may have Cygwin in your path causing issues?