Skip Menu |

This queue is for tickets about the enum CPAN distribution.

Report information
The Basics
Id: 132219
Status: new
Priority: 0/
Queue: enum

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

Bug Information
Severity: (no value)
Broken in: 1.11
Fixed in: (no value)



Subject: documentation bug
The bitmasks section includes example code use enum qw(BITMASK: MY_ FOO BAR CAT DOG); and then uses MY_DOG; but if there's a space between BITMASK: and MY_, that's not really right, is it? In simplified form: C:\usr\local\share\PassThru\perl>perl -le "use warnings;use strict; use enum qw(BITMASK: MY_ FOO BAR CAT DOG); print MY_DOG;" Name "main::MY_DOG" used only once: possible typo at -e line 1. print() on unopened filehandle MY_DOG at -e line 1. C:\usr\local\share\PassThru\perl>perl -le "use warnings;use strict; use enum qw(BITMASK:MY_ FOO BAR CAT DOG); print MY_DOG;" 8 Shouldn't the docs really say use enum qw(BITMASK:MY_ FOO BAR CAT DOG); with no space?