Some comments:

More code is needed in order to have an accurate and reproducible solution to this problem.

-First: use / instead of \\.
This reduces the number of "leaning toothpicks", "\\\\".
In Perl, "/" always works instead of "\\".
In Windows XP+, "/" or "// "almost always works".
There are some expections to this (where the backslash
\ or \\ is needed).

-Second: qx is rare: qx.
Perhaps "system" or other method is better?
I just note that qx is rare.
my $return = `some comand`;
would be more common.

-Third: File::Find
There is no returned value from File::Find. If you meant that by the subroutine find().

Update:
Here is the case where you need the "\" on the Windows command line:

C:\Projects>cd c:/temp The system cannot find the path specified. C:\Projects>cd c:\temp C:\TEMP>
A directory path in Perl doesn't use the Windows command line. This weird situation only happens if you are running a Windows shell command and starting from the "drive"'s root.

this is ok.... C:\TEMP>cd ../temp/somedir C:\TEMP\somedir>

In reply to Re: Server authentication by Marshall
in thread Server authentication by brayk1990

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.