Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: jar like feature

by Anonymous Monk
on Sep 22, 2004 at 02:35 UTC ( [id://392817]=note: print w/replies, xml ) Need Help??


in reply to Re^3: jar like feature
in thread jar like feature

Windows generally accepts forward slashes in addition to the canonical back slashes; it does not use colons -- that's MacOS.

Replies are listed 'Best First'.
Re^5: jar like feature
by ikegami (Patriarch) on Sep 22, 2004 at 04:06 UTC
    Windows generally accepts forward slashes in addition to the canonical back slashes;

    oops, right! See, I told you I should I have used File::Spec! (Actually, I did include '/' in the list of seperators.)

    Windows does not use colons -- that's MacOS.

    What about c:test.txt??? True, it can't be used to seperate directories, but I never said it could.

      What about c:test.txt??? True, it can't be used to seperate directories, but I never said it could.

      Yes, you did (empasis added):

      I wasn't refering to $0, but to the path seperator. In unix, it's '/'. In Windows, it can be '\' and ':'.

      The colon is the logical disk separator (required at least for absolute local filenames). In the case of a:file the directory separator can be optionally dropped (and the latest versions of the NT command interpreter can even handle things like disk:dir\file).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found