An alternative approach might be to pick an intermediary format like HTML, for which there is much more comprehensive CPAN support for reading, editing and rewriting. There are plenty of open source html <-> pdf conversion tools out there like
pdftohtml to fill in the resulting backend requirement. The latter thereby no longer being dependent on what is available in CPAN.