May I add somthing?
The book says that this is "syntactic sugar". So, BrowserUk's example is the same as:
$later = sub { say 'Keeping my' }; ... $later->();
McA
In reply to Re^2: How to understand chapter 6 of Higher Order Perl?
by McA
in thread How to understand chapter 6 of Higher Order Perl?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |