in reply to Re^3: Grep logs by start date and end date in different directories
in thread Grep logs by start date and end date in different directories
Regarding decompressing, there is the core module IO::Uncompress::Bunzip2 that you should be able to use fairly transparently:
# untested use IO::Uncompress::Bunzip2 (); my $fh = IO::Uncompress::Bunzip2->new($filename) or die "bunzip2 $filename: $IO::Uncompress::Bunzip2::Bunzip2Error" +; # use $fh like a regular filehandle
As for the second question, it'd be best if you followed the advice in SSCCE and How do I post a question effectively? - especially if it's urgent, since the advice on those pages will help us provide you with help efficiently. Since the above questions aren't closely related to the original one, you may also want to post a new question in a new thread. Anyway, there have been a few recent threads with similar topics that you might be able to get some information from:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Grep logs by start date and end date in different directories
by Anonymous Monk on Jan 08, 2018 at 01:43 UTC | |
by haukex (Archbishop) on Jan 09, 2018 at 21:58 UTC |