I don't know to which find.pl you are refering but as you
can check in stat()'s documentation, it caches the last
file.
While its a good idea to reuse code and knowledge,
note that it's not hard to do a recursive search in subdirs
(in case that's what you want)