Since Adam Lopesto asked a non-regex question, I don't feel quite as out of place for doing the same.
This one actually came to me just the other night. Would it be possible
in Perl 6 to create "anonymous classes"? Something like:
my $foo_class = class {
method new {
# yada yada yada
}
}
my $foo_obj = $foo_class.new;
