Yes, you and dasgar are probably right, if one needs to get the directory separator out of File::Spec.
The only caveat I have heard of is that on some OSes, paths aren't that easy... here's a sample VMS filename I found: DKA0:[MYDIR.SUBDIR1.SUBDIR2]MYFILE.TXT;1 - interesting!
In reply to Re^5: Perl appending \ or / based on windows or linux
by Anonymous Monk
in thread Perl appending \ or / based on windows or linux
by sravs448
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |