in reply to How to understand chapter 6 of Higher Order Perl?
promise
A utility function with a code prototype (sub promise(&);) allowing one to specify a coderef with curly braces and omit the sub keyword.my $promise = promise { ... };
For debugging you might try https://metacpan.org/pod/HOP::Stream#show
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to understand chapter 6 of Higher Order Perl? (promise/show)
by Anonymous Monk on Mar 13, 2014 at 15:55 UTC |