in reply to Re: Archive::Zip Compaitibility Issues??
in thread Archive::Zip Compaitibility Issues??

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.

Replies are listed 'Best First'.
Re^3: Archive::Zip Compaitibility Issues??
by bart (Canon) on Dec 15, 2008 at 16:06 UTC
    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.

Re^3: Archive::Zip Compaitibility Issues??
by svenXY (Deacon) on Dec 15, 2008 at 15:57 UTC
    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
Re^3: Archive::Zip Compaitibility Issues??
by admiral_grinder (Pilgrim) on Dec 15, 2008 at 19:20 UTC

    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?