in reply to Re^2: Extracting Log File data for a given date range
in thread Extracting Log File data for a given date range
Hey,
Here is the error I am getting when I run your code:
Useless use of split in void context at C:\Prady\perl files\dates.pl line 31.
Undefined subroutine &main::date called at C:\Prady\perl files\dates.pl line 12.
Line 31 is : split (/-/,$reverseDate);
Line 12 is : my ( $start, $end ) = ( date($date1), date($date2) );
Please help me find out what I am missing.