>>>>> "Jakob" == Jakob Kofoed <[EMAIL PROTECTED]> writes:

Jakob> I used find2perl to get the syntax of File::Find:

If you're comfortable with "find", but not with File::Find, you may
find (gah) File::Finder in the CPAN to be more your style.

>> I am trying to create a script which can traverse down a folder
>> structure to list all files and folders and then rename all files
>> or folders not called ".dat".

my @not_dat = File::Finder->not->name('*.dat')->in('.');

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to