Newsgroups: perl.perl6.compiler
From: autri...@autrijus.org (Autrijus Tang)
Date: Wed, 11 May 2005 08:48:08 +0800
Local: Tues, May 10 2005 8:48 pm
Subject: Named rules and basic OO support landed.
This works: rule name { Larry | Matz | Guido } 'Larry does Perl' ~~ /<description>/; # true This too: class Point { my $pt = Point.new(:x(10), :y(20)); my $pt2 = $pt.clone; say(($pt ~~ Point).perl); # bool:true Pugs's Parrot codegen backend needs to be updated to reflect both of Thanks,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| |||||||||||||||||