Perl Monk, Perl Meditation | |
PerlMonks |
Re: Compatibility on Win32 and UNIXby rinceWind (Monsignor) |
on May 10, 2002 at 15:59 UTC ( [id://165677]=note: print w/replies, xml ) | Need Help?? |
Check out modules File::Spec in the core distribution. These cope with many more file path syntaxes than Unix and Win32. For example: VMS
If you want your code to be truly portable (which is a good aim), you should be using modules such as File::Spec to handle the fine details of paths. One thing to be careful of though is case sensitivity. Unix is case sensitive, whereas Win32 only pretends to be.
In Section
Seekers of Perl Wisdom
|
|