in reply to File::Find problems
Sheesh. The problem is here:
my $volume_name = "/Volumes/Volume Name/"; for (glob "$volume_name/*")
That ends up globbing for "/Volumes/Volume Name//*". I'm not sure how that successfully returns the files I am after, but that is screwing up the path in File::Find. Is there a function that joins pieces of paths, so as not to create that double slash?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Find problems
by FalseVinylShrub (Chaplain) on Jan 15, 2010 at 07:37 UTC | |
by eff_i_g (Curate) on Jan 15, 2010 at 20:47 UTC | |
|
Re^2: File::Find problems
by ikegami (Patriarch) on Jan 15, 2010 at 07:58 UTC |