in reply to Re: Collapsing repetitive equality tests: || vs {} vs // (an observation)
in thread Collapsing repetitive equality tests: || vs {} vs // (an observation)
Feel free to drop a link to a reference to any, as I have no idea what you're referring to (sadly, I'm not hip to that Perl 6 jazz). grep, however, I can dig. It does make the test a bit large though.
On a tangent, it would be interesting to be able to ask for the value of $_ "x back" so that we could say something like grep { $_{0} eq $_{1} } qw( a b c ) or grep { $_ eq $_{1} } qw( a b c )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Collapsing repetitive equality tests: || vs {} vs // (an observation)
by rhesa (Vicar) on Feb 26, 2007 at 15:06 UTC | |
by diotalevi (Canon) on Feb 26, 2007 at 20:52 UTC | |
by phaylon (Curate) on Feb 27, 2007 at 15:36 UTC | |
by ikegami (Patriarch) on Feb 27, 2007 at 17:15 UTC |