Hi,
In article <[EMAIL PROTECTED]>,
Paul Harwood purportedly wrote:
> This isn't working for some reason. The $date scalar seems unchanged
> throughout.
>
> Paul Harwood wrote:
>>
>> I want to search a directory of log files and populate a list of those
>> log files ONLY if they match today's
This isn't working for some reason. The $date scalar seems unchanged throughout.
Paul Harwood wrote:
>
> I want to search a directory of log files and populate a list of those
> log files ONLY if they match today's date (localtime).
>
> $logs = 'c:\logs\W3SVC1';
> opendir LOGS, "$logs" or die "C
Paul Harwood wrote:
>
> I want to search a directory of log files and populate a list of those
> log files ONLY if they match today's date (localtime).
>
> $logs = 'c:\logs\W3SVC1';
> opendir LOGS, "$logs" or die "Can't open directory: $!\n";
> my @files = grep /\.TXT$/, readdir LOGS;
>
> #Righ
I want to search a directory of log files and populate a list of those log files ONLY
if they match today's date (localtime).
$logs = 'c:\logs\W3SVC1';
opendir LOGS, "$logs" or die "Can't open directory: $!\n";
my @files = grep /\.TXT$/, readdir LOGS;
#Right here, I am wondering if there is a