use / everywhere because Perl at Windows understand it very well unlike Windows itself

I've been told (on PerlMonks) that Windows system calls understand / just fine. It's the individual tools and shell commands that don't.

In fact, it seems the shell tools understand / just fine if it's in quotes:

G:\>md /test The syntax of the command is incorrect. G:\>md "/test" G:\>copy nul /test/file The syntax of the command is incorrect. G:\>copy nul "/test/file" 1 file(s) copied. G:\>dir /test Invalid switch - "". G:\>dir "/test" Volume in drive G is CLFS01-USR-N Volume Serial Number is 5C24-AC1F Directory of G:\test 2007/06/08 09:21 AM <DIR> . 2007/06/08 09:21 AM <DIR> .. 2007/06/08 09:21 AM 0 file 1 File(s) 0 bytes 2 Dir(s) 81,590,624,256 bytes free

In reply to Re^2: ActivePERL is the devil? by ikegami
in thread ActivePERL is the devil? by james734

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.