Sha256: 72d385ccdd88656ffeaf9ec7025dfe2c7d87ca0f72c805310c3019da1f40f853
Contents?: true
Size: 497 Bytes
Versions: 5
Compression:
Stored size: 497 Bytes
Contents
package URI::file::FAT; use strict; use warnings; use parent 'URI::file::Win32'; our $VERSION = '5.17'; sub fix_path { shift; # class for (@_) { # turn it into 8.3 names my @p = map uc, split(/\./, $_, -1); return if @p > 2; # more than 1 dot is not allowed @p = ("") unless @p; # split bug? (returns nothing when splitting "") $_ = substr($p[0], 0, 8); if (@p > 1) { my $ext = substr($p[1], 0, 3); $_ .= ".$ext" if length $ext; } } 1; # ok } 1;
Version data entries
5 entries across 5 versions & 1 rubygems