WARC::Index::File::CDX::Builder - build CDX WARC indexes
use WARC::Index; build WARC::Index::File::CDX into => $cdx_file, from => [@files]; $builder = build WARC::Index::File::CDX into => $cdx_file; $builder->add($record);
The WARC::Index::File::CDX::Builder class provides the implementation for building CDX indexes.
WARC::Index::File::CDX::Builder
build
into
Name of CDX file to write. If this file already exists, the fields option is ignored and read from the header.
fields
Array reference of CDX field letters to use, in order. See WARC::Index::File::CDX for details about supported fields.
Default: [qw/N b a m s k r M S V g u/]
Jacob Bachmeyer, <jcb@cpan.org>
WARC, WARC::Index::Builder, WARC::Index::File::CDX
Copyright (C) 2019, 2020 by Jacob Bachmeyer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WARC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WARC
CPAN shell
perl -MCPAN -e shell install WARC
For more information on module installation, please visit the detailed CPAN module installation guide.