in reply to Re: Year-month for file namesin thread Year-month for file names
the sub is not invariant because of the $this_year variable in higher scope.
Correct. Now what was my point?