in reply to Re^3: Defining a sub within a sub: OK?
in thread Defining a sub within a sub: OK?
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' ... )
|
---|