On Wed Jan 14 03:41:13 2009, richardh wrote:
> After playing with enums, I got the following:
>
> perl6
> > enum day <<:Sun(1) Mon Tue Wed Thr Fri Sat>>; my $x does day;
> $x.pick; say $x
> Use of uninitialized value
.pick is implemented on enums now. Your example works, but note you
probably me
# New Ticket Created by Richard Hainsworth
# Please include the string: [perl #62342]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62342 >
After playing with enums, I got the following:
perl6
> enum day <<:Sun(1) Mon Tu