Help for this page
my $in_file = "$logfile"; open my $in_fh, '<', $in_file or die "Could not open file $in_file: $! ++"; ... close $in_fh or die "Could not close file $in_file: $!"; close $out_fh or die "Could not close file $out_file: $!";
C:\code>perl -wc a.pl syntax error at a.pl line 37, near "/^(\d\d\d\d-\w\w\w-\d\d \d\d)/)" a.pl had compilation errors.