Yes, this is a closure. All lexical variables that are visible to and used by a subroutine stay around even if the enclosing scope has discarded them. It's cool
that it works, and it took a lot of work to get it to work right. {grin}
Search the Monestary using super search for more info.