Think about Loose Coupling | |
PerlMonks |
Re^2: Collapsing repetitive equality tests: || vs {} vs // (an observation)by blogical (Pilgrim) |
on Feb 26, 2007 at 14:54 UTC ( [id://602134]=note: print w/replies, xml ) | Need Help?? |
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 )
In Section
Meditations
|
|