Windows, yes.
find( sub { print $File::Find::name, "\n"; }, 'C:');
returns only files and directories in my home Documents dir, like
C:My Music
wheras with the slash I get all the contents of the C: drive, and the correspoding path looks like
C:/Documents and Settings/micgra/My Documents/My Music | [reply] [d/l] [select] |
This is not surprising, as on Windows, C: and C:/ are two different things.
C: means "The current directory on the volume C:
C:/ means "The root directory on the volume C:
So, if the current directory (on the volume) is not the root directory, the two will differ.
Windows has more than one "current directory" per application. It tracks the current directory per application per volume.
| [reply] [d/l] [select] |