While in general eschewing spaces in file names and paths sounds like a laudable goal from a lazy (Perl?) programmers perspective, in the OP's case the space is in a system provided path and is unavoidable. A far better thing would be for systems to provide the tools to work correctly with the practices people actually use.

Windows has far too many special characters that can't be used in file names and paths and the mixed blessing of a case insensitive but (mostly) case preserving file system. On the other hand, so long as you remember to double quote file names if you are using the command line, it mostly does what people expect. Use of easy to read descriptive file names is the norm and applications generally cope.

*nix on the other hand allows virtually anything in file names and paths, but general practice is to use short lowercase unpunctuated names without spaces. I find it vastly amusing that the file system that allows the greatest freedom in file naming is used in the most constrained fashion. *nix applications I've encountered are much more likely to be fragile in the context of allowed but unexpected file names than Windows applications.


True laziness is hard work

In reply to Re^2: Failed to execute my perl program on open perlID by GrandFather
in thread Failed to execute my perl program on open perlID by aufa

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.