Skip Menu |

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

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

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

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



Subject: Change prototype of is_unknown from ($) to (_)
This would allow: my @numbers = (1, 2, 3, unknown, 5); for (@numbers) { next if is_unknown; say; } The (_) prototype is the same as lc, uc, length, etc - it allows the function to operate on $_ by default, even lexical $_.
Resolved and uploaded in 0.004. Thanks for the report! Cheers, Ovid