1 package URI::file::FAT;
3 require URI::file::Win32;
4 @ISA=qw(URI::file::Win32);
10 # turn it into 8.3 names
11 my @p = map uc, split(/\./, $_, -1);
12 return if @p > 2; # more than 1 dot is not allowed
13 @p = ("") unless @p; # split bug? (returns nothing when splitting "")
14 $_ = substr($p[0], 0, 8);
16 my $ext = substr($p[1], 0, 3);
17 $_ .= ".$ext" if length $ext;