No such thing as a small change | |
PerlMonks |
Re: Unicode path with Spreadsheet::XLSXby afoken (Chancellor) |
on Mar 18, 2018 at 10:05 UTC ( [id://1211180]=note: print w/replies, xml ) | Need Help?? |
Files on Windows generally have a "short" name that is compatible with legacy software (i.e. DOS, Windows 3.x Applications). It is limited to the old DOS "8.3" schema and contains no spaces, no tricky characters, just a subset of printable ASCII. Demo:
Those names are not limited to legacy applications. Any application can use them, including perl:
Another, unrelated benefit of those legacy aliases is that they tend to be shorter than the original name. This can be useful to handle files with ridiculously long names, longer than Windows' limits usually allow. See deepcopy for details. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|