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


in reply to Re^4: why need my in a foreach loop?
in thread why need my in a foreach loop?

I don't know the precise definition if there is one. For practical purposes, I find it doesn't matter.

Correction: In this case, the sub truly acts as a closure. If it didn't, it wouldn't matter if you used our or my.