in reply to Re: Re: Best Way to Search and Delete files on a large Windows Filesystem
in thread Best Way to Search and Delete files on a large Windows Filesystem

Yeah ive done the same thing, although I generally use regexes if the output is from File::Find. But my point was that using the path as returned is fine and that taking advantage of the backslash change can be quite useful. For instance for creating a HOH of the directory structure. You can just do something like
my($root,$path)=$funnyspec=~m!([^/]+)([^\]+)!; my @parts=split('/',$path);
(well YKWIM)

Anyway, I have to admit that I almost never use my cygwin version of Perl.

Yves / DeMerphq
--
When to use Prototypes?
Advanced Sorting - GRT - Guttman Rosler Transform

  • Comment on Re: Re: Re: Best Way to Search and Delete files on a large Windows Filesystem
  • Download Code