My question is how does one then (cleanly) determine that the object is indeed a blessed precompiled regex?my $self = qr/\[$word\]/; bless($self, $class);
Oh and I already asked on p5p without much results and also here at the monastery
Cheers,
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
In reply to Re: Blessables -- What Can You Make Into Objects?
by demerphq
in thread Blessables -- What Can You Make Into Objects?
by chromatic
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |