It's effectively the same as:
print sub{ fred: 3 }->();; 3
The 'return:' is just a label that is never used; and the return is implicit.
In reply to Re: 'return:' instead of 'return'
by BrowserUk
in thread 'return:' instead of 'return'
by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |