I agree with jwkrahn's point about the 'code block' (as defined in the referenced discussion of blocks). What I thought was meant was a 'code block' of the sort associated with sort and other such built-ins, e.g.,
my @sorted = sort { $a <=> $b } @unsorted;
(Hang on, I may be experiencing a 'lobe block' ... )
In reply to Re^4: Defining a sub within a sub: OK?
by AnomalousMonk
in thread Defining a sub within a sub: OK?
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |