----- Original Message ---- > From: Moritz Lenz <mor...@faui2k3.org>
> Ovid wrote: > > OK, I'm tired of submitting bug reports. > > Still bug reports are valuable. When you find your motivation again, > please continue to submit them. I meant that I was tired "for that one evening". I do plan to come back to this :) > > It's not a patch because I got tired of adding exceptions for bugs, but > > then I > realized that the bugs might be in my brain :) Specifically, I started > adding > stuff like this because of lack of a .perl method: > > > > my $have = $passed.WHAT eq any() > > ?? $passed > > !! $passed.perl; > > Maybe ``try({$passed.perl}) // ~$passed'' works better, I hope to find > tuits today to see if it makes a difference. Does the try() block return the last evaluated value like Perl 5? If so, what if $passed is undef but doesn't blow up? Wouldn't that break this? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6