NAME

PDF::PDFUnit::Config - Creating a configuration file for PDF::PDFUnit

DESCRIPTION

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"!

Linux

  • $PDFUNIT_PERL_CONFIG (an environment variable)

  • pdfunit-perl.cfg (in the current directory)

  • .pdfunit-perl.cfg (in the home directory)

  • /etc/pdfunit-perl.cfg

Windows

  • %PDFUNIT_PERL_CONFIG% (an environment variable)

  • pdfunit-perl.cfg (in the current directory)

  • %HOMEPATH%\.pdfunit-perl.cfg (please note the dot!)

  • %USERPROFILE%\.pdfunit-perl.cfg (please note the dot!)

  • %LOCALAPPDATA%\pdfunit-perl\pdfunit-perl.cfg