- guess_format( $formats, @iterators )
-
Check all formats in the array reference $formats against the first line of all iterators. Return the first that matched.
- interleave_iterators( $format, @iterators )
-
Take a list of iterators and checks every iterator for its next line. After sorting these lines according to their dates, print the earliest line. $format is the date specification to find dates in lines and @iterators a list of iterators produced by get_iterator().
- sort_iterators( $format, @iterators )
-
Take a date format and a list of iterators and return a list of iterators sorted by the date of their first lines. If an iterators returns no line, it is not included in the returned list.
- normal_file_iterator( $filename, $start, $end, %options )
-
Return a iterator subroutine, that will return lines from $filename starting at $start to $end every time it is called. $start end <$end> are timevalues in epoch.
- uncompress_iterator( $filename, $start, $end, %options )
-
Return a iterator subroutine, that will return lines from $filename starting at $start to $end every time it is called. $start end <$end> are timevalues in epoch. $filename must be a gzip or bzip2 compressed file with a corresponding suffix of gz and z or bz and bzip2.
NAME
App::dategrep - grep for dates
DESCRIPTION
Please read the usage and document of dategrep.
SEE ALSO
https://metacpan.org/pod/Date::Manip
COPYRIGHT AND LICENSE
Copyright 2014 Mario Domgoergen <mario@domgoergen.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 174:
'=item' outside of any '=over'
- Around line 504:
You forgot a '=back' before '=head1'