Thank you Ken. MS is the problem here, regarding the '\'. I knew that it would probably become an issue due to the fact that it is used to escape chars to literals and not syntax. I will research File::Spec as I was informed by my Perl sme that there was a module that could correct MS's ridiculous '\' issue within directory names, but he could not remember the name of the module. My suspicion is that you just provided me the answer/module I was looking for. As for the error; Padwalker via EPIC only gave me "Syntax Error" on the line I cited. I apologize for being vague, but I had no other information. I will also employ the diagnostics module so that I can avoid the same in the future. I appreciate this community so much now that I have found it. What a prize to have such a supportive group, especially for a Newb.


In reply to Re^2: Syntax Error deleting files and folders in a directory by smturner1
in thread Syntax Error deleting files and folders in a directory by smturner1

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.