PDF::PDFUnit::Config - Creating a configuration file for PDF::PDFUnit
PDF::PDFUnit needs to know where PDFUnit-Java is installed. For that purpose you need a small and simple configuration file with the following content:
pdfunit_java_home = <YOUR_PDFUNIT_JAVA_INSTALLATION_FOLDER>
The value will be globbed, i.e. you can use OS-dependent wildcards like * or ~.
*
~
There are many possible locations where you can place this config file, also OS-dependent. The first one found "wins"!
$PDFUNIT_PERL_CONFIG (an environment variable)
pdfunit-perl.cfg (in the current directory)
.pdfunit-perl.cfg (in the home directory)
/etc/pdfunit-perl.cfg
%PDFUNIT_PERL_CONFIG% (an environment variable)
%HOMEPATH%\.pdfunit-perl.cfg (please note the dot!)
%USERPROFILE%\.pdfunit-perl.cfg (please note the dot!)
%LOCALAPPDATA%\pdfunit-perl\pdfunit-perl.cfg
To install PDF::PDFUnit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::PDFUnit
CPAN shell
perl -MCPAN -e shell install PDF::PDFUnit
For more information on module installation, please visit the detailed CPAN module installation guide.