in reply to Re^2: Improve foreach with help of map?
in thread Improve foreach with help of map?
is a contortionist's way of writing{ map { say; last if /3/ } 1..5 }
for (1..5) { say; last if /3/ }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |