Hi Khen1950fx...

I got the same error msg, after using your script on the 0.58 version of Archive-Extract.

I downloaded the many archiving programs because I thought that was the problem.

/MY/DIR/PATH/monks.pl [23:42:16] /root/.cpan/build/Archive-Extract-0.58-G2ny5_/t/01_Archive- +Extract.t .. ok 1 - use Archive::Extract; ok 2 - Archive::Extract->can('types') ok 3 - Got a list of types Key 'archive' (01_Archive-Extract.t) is of invalid type for 'Archive:: +Extract::new' provided by ANON at /root/.cpan/build/Archive-Extract-0 +.58-G2ny5_/t/01_Archive-Extract.t line 263 not ok 4 - Object created based on 'tgz' # Failed test ' Object created based on 'tgz'' # at /root/.cpan/build/Archive-Extract-0.58-G2ny5_/t/01_Archive-Extr +act.t line 264. Can't call method "error" on an undefined value at /root/.cpan/build/A +rchive-Extract-0.58-G2ny5_/t/01_Archive-Extract.t line 265. 1..4 # Looks like you failed 1 test of 4. # Looks like your test exited with 2 just after 4. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/4 subtests [23:42:18]

In reply to Re^2: Test fails: 01_Archive-Extract.t and TGZ files by compused
in thread Test fails: 01_Archive-Extract.t and TGZ files by compused

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.