Skip Menu |

This queue is for tickets about the Unknown-Values CPAN distribution.

Report information
The Basics
Id: 83469
Status: resolved
Priority: 0/
Queue: Unknown-Values

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Documentation - @less should have two undefs
In this example: my @numbers = ( 1,2,3,4,undef,5,6,undef,7 ); my @less = grep { $_ < 5 } @numbers; # 1,2,3,4,undef my @greater = grep { $_ > 4 } @numbers; # undef,5,6,undef,7 @less should be: 1,2,3,4,undef,undef
On Wed Feb 20 05:40:35 2013, TOBYINK wrote: Show quoted text
> In this example: > > my @numbers = ( 1,2,3,4,undef,5,6,undef,7 ); > my @less = grep { $_ < 5 } @numbers; # 1,2,3,4,undef > my @greater = grep { $_ > 4 } @numbers; # undef,5,6,undef,7 > > @less should be: > > 1,2,3,4,undef,undef
Resolved and uploaded in 0.004. Thanks for the report! Cheers, Ovid