rauschy33 has asked for the wisdom of the Perl Monks concerning the following question:

I have another question? Does anyone know how the subroutine find.pl works as in how to extract the file date directly from the subroutine instead of doing the stat function yourself. I know that the find.pl has a stat call in it, I was wondering if anyone knew how the whole routine works. Thanks.

Replies are listed 'Best First'.
Re: FIND.pl
by fundflow (Chaplain) on Jul 26, 2000 at 03:46 UTC
    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)