in reply to Re^2: Anonymous subroutines
in thread Anonymous subroutines

Spot on hv!

The question was asked because I don't understand why one would write a sub like that. Having seen it twice in two very different settings from two different coders, I am either missing a reason to do it that way or it is how some people used to write code at one time. Both instances where I saw it are not recent bits of code.