The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WARC::Index::File::CDX::Builder - build CDX WARC indexes

SYNOPSIS

  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);

DESCRIPTION

The WARC::Index::File::CDX::Builder class provides the implementation for building CDX indexes.

Options for build method when building CDX indexes

into

Name of CDX file to write.

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/]

AUTHOR

Jacob Bachmeyer, <jcb@cpan.org>

SEE ALSO

WARC, WARC::Index::Builder, WARC::Index::File::CDX

COPYRIGHT AND LICENSE

Copyright (C) 2019 by Jacob Bachmeyer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.