Hello marto, Thank you so much for your useful suggestion! I still have some errors. Thank you again and really appreciated! Best, Yue

li@li-HP$ sudo cpan Tie::Hash::Indexed Loading internal null logger. Install Log::Log4perl for logging messag +es Reading '/home/li/.cpan/Metadata' Database was generated on Thu, 04 Jun 2020 02:41:02 GMT Running install for module 'Tie::Hash::Indexed' Checksum for /home/li/.cpan/sources/authors/id/M/MH/MHX/Tie-Hash-Index +ed-0.05.tar.gz ok 'YAML' not installed, will not store persistent state Configuring M/MH/MHX/Tie-Hash-Indexed-0.05.tar.gz with Makefile.PL Setting license tag... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Tie::Hash::Indexed Writing MYMETA.yml and MYMETA.json MHX/Tie-Hash-Indexed-0.05.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for M/MH/MHX/Tie-Hash-Indexed-0.05.tar.gz cp lib/Tie/Hash/Indexed.pm blib/lib/Tie/Hash/Indexed.pm Running Mkbootstrap for Indexed () chmod 644 "Indexed.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Indexed.bs + blib/arch/auto/Tie/Hash/Indexed/Indexed.bs 644 "/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp" -typemap '/usr +/share/perl/5.26/ExtUtils/typemap' -typemap '/home/li/.cpan/build/Tie +-Hash-Indexed-0.05-2/typemap' Indexed.xs > Indexed.xsc mv Indexed.xsc Indexed.c x86_64-linux-gnu-gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwra +pv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURC +E -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.05\" -DXS_VERSION=\"0 +.05\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE" -DNDEBUG In +dexed.c rm -f blib/arch/auto/Tie/Hash/Indexed/Indexed.so x86_64-linux-gnu-gcc -shared -L/usr/local/lib -fstack-protector-stron +g Indexed.o -o blib/arch/auto/Tie/Hash/Indexed/Indexed.so \ \ chmod 755 blib/arch/auto/Tie/Hash/Indexed/Indexed.so Manifying 1 pod document MHX/Tie-Hash-Indexed-0.05.tar.gz /usr/bin/make -- OK Running make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Indexed.bs + blib/arch/auto/Tie/Hash/Indexed/Indexed.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/l +ib', 'blib/arch')" t/*.t t/101_basic.t ..... 1/32 # Failed test 8 in t/101_basic.t at line 43 # t/101_basic.t line 43 is: skip($scalar, $s =~ /^(\d+)\/\d+$/ && $1 +== scalar keys %h); # Failed test 11 in t/101_basic.t at line 49 # t/101_basic.t line 49 is: skip($scalar, $s =~ /^(\d+)\/\d+$/ && $1 +== scalar keys %h); # Failed test 14 in t/101_basic.t at line 55 # t/101_basic.t line 55 is: skip($scalar, $s =~ /^(\d+)\/\d+$/ && $1 +== scalar keys %h); t/101_basic.t ..... Failed 3/32 subtests t/102_storable.t .. ok t/103_bugs.t ...... ok Test Summary Report ------------------- t/101_basic.t (Wstat: 0 Tests: 32 Failed: 3) Failed tests: 8, 11, 14 Files=3, Tests=69, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr + 0.00 csys = 0.04 CPU) Result: FAIL Failed 1/3 test programs. 3/69 subtests failed. Makefile:1002: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 MHX/Tie-Hash-Indexed-0.05.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MHX/Tie-Hash-Indexed-0.05.tar.gz

In reply to Re^4: match two files by yueli711
in thread match two files by yueli711

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.