PDF::Extract

simple extract PDF to text|html|xml

raku PDF::Extract

Simple binding of the pdftotext command line utility

Installation

  1. brew install poppler (MacOS) or sudo apt-get install poppler-utils (ubuntu)

  2. zef install PDF::Extract

To install poppler on other popular (geddit?) systems such as Nix or Windows, please see the installation instructions here and use your Nix package manager (e.g. sudo aptitude on Debian) or go here for Windoze binaries (this module not yet tested on Windows).

Synopsis

use PDF::Extract;

my $extract = Extract.new: file => '../resources/sample.pdf';

say $extract.text;
say $extract.html;
say $extract.xml;

say $extract.so;   #test for PDF headers
say $extract.info;
say $extract.info<CreationDate>;
...

### Copyright
copyright(c) 2023 Henley Cloud Consulting Ltd.

PDF::Extract v0.0.4

simple extract PDF to text|html|xml

Authors

  • librasteve

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • PDF::Extract

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.