3 ms·
Also I would use ( Male | Female ) in Perl 6, as it tries to match both in parallel. The reason the version with || is in P5-to-p6 is that is how | works
by b2gills 9y ago
Also I would use
( Male | Female )
in Perl 6, as it tries to match both in parallel.
The reason the version with || is in P5-to-p6 is that is how | works in Perl 5.