or download this
Variable "$list_ref" will not stay shared at - line 15 (#1)
(W closure) An inner (nested) named subroutine is referencing a
...
anonymous, using the sub {} syntax. When inner anonymous subs tha
+t
reference variables in outer subroutines are called or referenced,
+ they
are automatically rebound to the current values of such variables.