Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Compatibility on Win32 and UNIX

by rinceWind (Monsignor)
on May 10, 2002 at 15:59 UTC ( [id://165677]=note: print w/replies, xml ) Need Help??


in reply to Compatibility on Win32 and UNIX

Check out modules File::Spec in the core distribution. These cope with many more file path syntaxes than Unix and Win32. For example: VMS
Device:[dir.subdir.subsubdir]file.ext;ver

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://165677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found