Subject: | Does not report right arguments in divider line if used multiple times |
Date: | Mon, 26 Sep 2011 18:13:26 +0200 |
To: | bug-Data-Show [...] rt.cpan.org |
From: | Salvatore Bonaccorso <carnil [...] cpan.org> |
Hi Damian!
Data::Show does not seem to report the right arguments in the divider
line if show is used multiple times. The attached datashow.pl for
example has a %hash, @keys and another @array, but show'ing the three,
always:
======( @array )=======================[ 'datashow.pl', line 8 ]======
("c", "d", "a", "b")
======( @array )======================[ 'datashow.pl', line 11 ]======
("c", "a")
======( @array )======================[ 'datashow.pl', line 14 ]======
("foo", "bar")
So three times it shows "@array", even if the content of the dump then
is correct.
Data::Dump is at 1.19.
Perl is 5.12.4.
Regards,
Salvatore
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.