Hi Monks,
My Script is working fine when i put a '.' for the currect directory. But when i give a directory name which has space between it, it does not run it and did not show the files inside the directory.
I am pasting piece of my code
$glob_path = "$LogDir/${Prefix}*";
@log_paths = glob $glob_path or die "No files found in '$glob_path'";
printf "log files = \n";
print @log_paths;
printf "\n";
I am running the program as-
C:\Perl Script>perl summaryreport_latest_working_latest.pl --LogDir="C
+:\\Perl Script\\Sample Programs" --Prefix=arcotwebfort --Diagnostics=
+01096878 > results.txt
i got this as output
LOG DIR = C:\\Perl Script\\Sample Programs
log files =
C:\PerlScript\Sample
the actual folder name from where i need to take the file is--
<quote>
C:\Perl Script\Sample Programs
</quote>
inside this directory we have so many files with prefix arcotwebfort.
Kindly suggest something to come out of this problem.
Thanks
NT