in reply to Re: [Perl 6] Generalized shortcutting C<||>?
in thread [Perl 6] Generalized shortcutting C<||>?
(grep( func($_), $thing ), 'default')[0]
While I wholeheartedly cherish this as a creation of human mind, you know that kind of comments would it raise in production code, don't you? (It's very obvious, but as with most obvious things, I wouldn't have thought of it...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [Perl 6] Generalized shortcutting C<||>?
by ysth (Canon) on Jul 26, 2007 at 18:50 UTC |