This queue is for tickets about the Number-Bytes-Human CPAN distribution.

Report information
The Basics
Id:
119241
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
ROBN [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.10
Fixed in:
0.11



Subject: Debug output on parse failure
If parse_bytes fails, a bunch of debug info lands on STDERR: $ perl -MNumber::Bytes::Human=parse_bytes -E 'parse_bytes("xxx")' Could not parse human readable byte value 'xxx' at -e line 1. $VAR1 = 'B'; $VAR2 = 1024; $VAR3 = 'T'; $VAR4 = 1024; $VAR5 = 'ZiB'; $VAR6 = 1024; $VAR7 = 'YB'; $VAR8 = 1000; $VAR9 = 'KiB'; $VAR10 = 1024; ... Looks like some debug code got left in by mistake: if( !defined $mult ) { carp "Could not parse human readable byte value '$human'"; use Data::Dumper; print STDERR Dumper( %suffix_block ); return undef; }


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.