Skip Menu |
 

This queue is for tickets about the Mac-Carbon CPAN distribution.

Report information
The Basics
Id: 78504
Status: new
Priority: 0/
Queue: Mac-Carbon

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

Bug Information
Severity: Unimportant
Broken in: 0.82
Fixed in: (no value)



Subject: Noisy tests (length() used on an @array)
Download (untitled) / with headers
text/plain 213b
At some point, Perl decided to generate a warning when you use length() on an array. The attached patch suppresses the warning, and does what I believe is the intent of the code -- at any rate, all the tests pass.
Subject: MacPerl.patch
Download MacPerl.patch
text/x-diff 342b
--- MacPerl/MacPerl.old 2009-09-08 02:12:58.000000000 -0400 +++ MacPerl/MacPerl.pm 2012-07-21 12:12:22.000000000 -0400 @@ -182,7 +182,7 @@ print "Pick one of the following:\n"; } - my $num = length @$options; + my $num = length scalar @$options; for (0 .. $#{$options}) { printf " [%${num}d] %s\n", $_, $options->[$_]; }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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