Jaap, thanks for your response.
Here is what my debugger thinks of $ssxmlified. sorry about the name.
$ssxmlified = "<perldata>\n <hashref memory_address=\"0x1b932f8\">\n <item key=\"ferret\">\n <arrayref memory_address=\"0x1b9f174\">\n <item key=\"0\">sredni</item>\n <item key=\"1\">vashtar</item>\n </arrayref>\n </item>\n <item key=\"hen\">anabaptist</item>\n </hashref>\n</perldata>\n";

here is $rexmlified
$rexmlified = "<perldata>\n <hashref memory_address=\"0x21e8434\">\n <item key=\"ferret\">\n <arrayref memory_address=\"0x329ac98\">\n <item key=\"0\">sredni</item>\n <item key=\"1\">vashtar</item>\n </arrayref>\n </item>\n <item key=\"hen\">anabaptist</item>\n </hashref>\n</perldata>\n";

which look pretty much identical to me, except those memory addresses. i thought xml_compare ignored these. will delve into the sub itself. any further thoughts very welcome.

In reply to Re: Re: XML::Dumper: Nifty or Naughty? by wufnik
in thread XML::Dumper: Nifty or Naughty? by wufnik

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.