Id just like to address a couple of minor points here. There was some chattering yesterday in the CB that Data::Dump::Streamer fails to dump

my @a = ('a0'..'a9'); unshift @a, \$a[2]; print Dump \@a;

corectly, in a similar way to modules like YAML, Data::Dumper, Data::Dump fail this test. I assure you that this is NOT the case:

$ARRAY1 = [ 'R: $ARRAY1->[3]', 'a0', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9' ]; $ARRAY1->[0] = \$ARRAY1->[3];

which is perfectly correct. A thorough examination of this problem can be found in the dogpound.t test file contained in the distribution.

The other thing is that there seem to be difficulties installing the module on some architectures and version of perl. Ive tested as well as I can on Win32 and some versions of linux, but obviously cant test everywhere. Please email me the results of TEST_VERBOSE=1 if you have a failed build.

UPDATE: grinder kindly obliged me with a test output from a failed build, (thanks dude!) and it looks like its a bug in perl. If the only failure is test 14 of dump.t (all the reports so far are for this test) and you get the following as part of the verbose test output then your perl is buggy in that (1) x 4 returns four identical objects and not four seperate objects. (Or is it the other way round and the perls that _dont_ do this are buggy?, either way there are two distinct behaviours out there and Streamer notices the difference. :-)

Rle(1) Alias Got: $ARRAY1 = [ 1, 'A: $ARRAY1->[0]', 'A: $ARRAY1->[0]', 1, 0, 'A: $ARRAY1->[3]', 1, 'A: $ARRAY1->[6]', 'A: $ARRAY1->[6]' ]; make_ro($ARRAY1->[0]); alias_av(@$ARRAY1, 1, $ARRAY1->[0]); alias_av(@$ARRAY1, 2, $ARRAY1->[0]); make_ro($ARRAY1->[4]); alias_av(@$ARRAY1, 5, $ARRAY1->[3]); make_ro($ARRAY1->[6]); alias_av(@$ARRAY1, 7, $ARRAY1->[6]); alias_av(@$ARRAY1, 8, $ARRAY1->[6]); EXPECT

Thanks and cheers.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi



In reply to Re: Introducing Data::Dump::Streamer by demerphq
in thread Introducing Data::Dump::Streamer by demerphq

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.