P
PilotMI80
Hi all,
When trying to access a USB key with :
foreach(<$path/*>)
(or any combination of quotes )
it seems nothing is found.
The same actually works if $path is on my hard disk.
So, by now, I replaced this construction with :
opendir(DH, "$SourceFolder") or die "msg";
my @FolderContents = readdir DH;
closedir DH;
foreach(@FolderContents)
and it works perfectly (on both file systems)
My question is : is there a kind of flush mechanism that I missed ? or
will I have to use the workaround ?
Anyone got this kind of behaviour ?
When trying to access a USB key with :
foreach(<$path/*>)
(or any combination of quotes )
it seems nothing is found.
The same actually works if $path is on my hard disk.
So, by now, I replaced this construction with :
opendir(DH, "$SourceFolder") or die "msg";
my @FolderContents = readdir DH;
closedir DH;
foreach(@FolderContents)
and it works perfectly (on both file systems)
My question is : is there a kind of flush mechanism that I missed ? or
will I have to use the workaround ?
Anyone got this kind of behaviour ?