What do you think do returns?
I know what the do returns:
print do{ { print 'fred'; map $_,1 .. 10 } };; fred 1 2 3 4 5 6 7 8 9 10
The result of the last statement inside the bare block.
In reply to Re^7: Short-circuiting a map list. (This works! But ...)
by BrowserUk
in thread Short-circuiting a map list.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |