in reply to Is it possible to localize the stat/lstat cache?
I ended up just saving values in a hash, like what I thought I was going to do. In the future, I'll probably use File::stat.