output of the script:
mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/0 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/1 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/2 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/3 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/4 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/5 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/6 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/7 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/8 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/9 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/10 mkdir /app/docs/intranet/Jupiter Media Metrix/mmf/1999/10: File exists + at throw.pl line 8
the spaces in the directory have no effect. I've tried with non-spaced dir paths... same thing.

and the file 10 is created. strings was a great idea... here's it's output:
legal.html images 1998 1999 2000 2001 index.html Media: No such file or directory
those are all directories or files involved in the copying (from the non-test script!). no idea how that info is getting into the test script's output.

I'm going to go lie down now for a bit... :)

In reply to output of test script by markguy
in thread freaky mkdir problem by markguy

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.