in reply to Re^2: Is there a Dir/File::Find
in thread Is there a Dir/File::Find
So, your code would look like:
use File::Find; find (\&ProcessDirTree, './_NewExtensionTemplate'); sub ProcessDirTree { print "Dir: $File::Find::name\n" if -d; print "File: $File::Find::name\n" unless -d; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is there a Dir/File::Find
by GrandFather (Saint) on Jul 29, 2005 at 03:38 UTC |