in reply to Re^3: Confused scoping while using File::Find
in thread Confused scoping while using File::Find
Indeed, I have learned a lesson. A cool one though. I was not sure what a closure was. It is kind of a difficult concept. However, I now see why my variable maintained its value even after the surrounding function had returned and the scope was lost.
I am grateful for the knowledge passed along.
|
|---|