You're expecting Perl to use a shortcut available only in the Command Prompt shell. This issue occurs with other languages on Windows systems.
Try getting around it by expanding the path to an absolute path... this is what I used to do in my Turbo Pascal da(ys|ze). Short of that do a simple regexp that converts a drive letter to a drive letter plus a dot:
$path =~ s/^([A-Z]\:)$/$1\./i;
In reply to Re: Problem with opendir/readdir on Win2k
by rrwo
in thread Problem with opendir/readdir on Win2k
by Rudif
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |