grep sub { ... }, @list
never runs the anonymous subroutine and always returns all of @list since a code ref evaluates to 'true' in a Boolean context.
- tye
In reply to Re^6: RFC: Accelerated stepping (true sub)
by tye
in thread RFC: Accelerated stepping
by hexcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |