http://www.perlmonks.org?node_id=11156239


in reply to Anonymous subroutines

There are various possible reasons

In general anonymous subs ...

Without more details it's hard to tell, why you saw, what you saw.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

°) well "available", they are only compiled once at compile time, but their time window/life span is dynamic

*) even in older Perl versions

²) e.g. as callbacks

³) like in List::Util et.al.

Update

Disclaimer: The listed points are not exclusive and have overlaps. Neither do I expect them to be exhaustive and to cover all cases.