http://www.perlmonks.org?node_id=988972


in reply to Re^2: remove files from the V volume on windows
in thread remove files from the V volume on windows server 2008

You should ignore (e.g. next if /^\.{1,2}$/) "." and ".." as they are pseudo-directories meaning "current directory" and "upper directory".
Sorry if my advice was wrong.