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:
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.C:\Projects>cd c:/temp The system cannot find the path specified. C:\Projects>cd c:\temp C:\TEMP>
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |