- elsif($^O eq 'MSWin32' && $last =~ m!^\.\.\.+$!)
- {
- # Windows allows to go upwards in a path using things like
- # "..." and "...." and so on
-
- my $count = length($last)-1;
-
- for(my $x=0;$x<$count;$x++)
- {
- unless($first =~ m!^[a-z]{1}:(/|\\)$!i)
- {
- $first = upper_path($first);
- }
- }
-
- $last = '';
- }