Hello Monks, I tried cpan install Devel::MAT on CentOS7.6 but it failed while running tests:
t/00use.t ................ ok t/01self.t ............... Cannot read - at /root/.cpan/build/Devel-M +AT-0.41-eysiRr/blib/lib/Devel/MAT.pm line 82. t/01self.t ............... Dubious, test returned 255 (wstat 65280, 0x +ff00) No subtests run t/02contexts.t ........... Cannot read - at /root/.cpan/build/Devel-M +AT-0.41-eysiRr/blib/lib/Devel/MAT.pm line 82. t/02contexts.t ........... Dubious, test returned 255 (wstat 65280, 0x +ff00) t/10tool-identify.t ...... Cannot read - at /root/.cpan/build/Devel-M +AT-0.41-eysiRr/blib/lib/Devel/MAT.pm line 82. t/10tool-identify.t ...... Dubious, test returned 255 (wstat 65280, 0x +ff00)
If using force install the module installed but I got the same error while trying to load the heap dump file:
pmat bom-feed-distributor-1.pmat Loading file 34309628 of 35598736 bytes (96.38%)Cannot read - at /roo +t/perl5/lib/perl5/x86_64-linux-thread-multi/Devel/MAT.pm line 82.
Perl version is:
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-li +nux-thread-multi
Does any one know how to fix this error? Thank you very much for any help/suggestion!

In reply to Devel::MAT can not load dump file by nguyenpham1910

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.