in reply to File::Find
UPDATE: Correct error in use of drive letter ':' is requireduse File::Find; use Win32::DriveInfo; for( Win32::DriveInfo::DrivesInUse ) { find( \&handleFind, "$_:" ); } sub handleFind {... same as before ...}
Note: installing Win32::DriveInfo requires installing Win32::API. The former is available only from CPAN, the latter is available as a PPM. Fortunately Win32::Drive info is pure Perl and can simply be copied to C:/perl/lib/site/lib/win32 and used from there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (ichi) Re: File::Find
by Util (Priest) on Jun 10, 2002 at 03:16 UTC |