parrotcode: Perl 6 match objects | |
Contents | Language Implementations | Perl6 |
Match - Perl 6 match objects
At the moment file is a dummy file, it does nothing more than cause PGE::Match objects to act as mutables via the Scalar method. Eventually we'll derive a proper Match subclass here that can do it the same way as other Rakudo classes, but this is a good workaround for now.
(We have to handle mutable-ness specially here, because PGE::Match is derived from Parrot's Hash class, and Rakudo's Mapping class causes Parrot's Hash to act like an immutable. HLL mapping would help here, too.)
|