in reply to Re^4: private recursive subroutines
in thread private recursive subroutines

Calling the function has no effect on the cache, only changing *foo does.