This code is WAY neeter, I can't wait till I get this good. The output on the screen is correct but it will not create the zip files:
We have 14 files to work with .. lets begin to the 'c:/temp/zip/030905temp.zip' zip file I will add '30589-030905t +emp-one.tif' to the 'c:/temp/zip/305cv26.zip' zip file I will add '30590-305cv26.ti +f' to the 'c:/temp/zip/306cv26.zip' zip file I will add '30591-306cv26.ti +f' to the 'c:/temp/zip/304cv743.zip' zip file I will add '30592-304cv743. +tif' to the 'c:/temp/zip/304cv264.zip' zip file I will add '30593-304cv264. +tif' to the 'c:/temp/zip/305cv87.zip' zip file I will add '30594-305cv87.ti +f' to the 'c:/temp/zip/305cv87.zip' zip file I will add '30595-305cv87-1o +f2.tif' to the 'c:/temp/zip/305cv87.zip' zip file I will add '30595-305cv87-2o +f2.tif' to the 'c:/temp/zip/305mj66.zip' zip file I will add '30596-305mj66-1o +f2.tif' to the 'c:/temp/zip/305mj66.zip' zip file I will add '30596-305mj66-2o +f2.tif' to the 'c:/temp/zip/305mj65.zip' zip file I will add '30597-305mj65.ti +f' to the 'c:/temp/zip/398cv560.zip' zip file I will add '30598-398cv560. +tif' to the 'c:/temp/zip/504cvmdl227.zip' zip file I will add '30599-504cvm +dl227-1of2.tif' to the 'c:/temp/zip/504cvmdl227.zip' zip file I will add '30599-504cvm +dl227-2of2.tif' Can't locate object method "addFile" via package "zip" (perhaps you fo +rgot to load "zip"?) at C:\work\2statfile_apha.pl line 31.

In reply to Re^7: newbie question to archive::zip by jashv
in thread newbie question to archive::zip by jashv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.