CAM::PDF – PDF manipulation library by “Clotho Advanced Media”

CAM::PDF – search.cpan.org

I am currently into PDF “reading”, and this software looks rather promising.

There are also a couple of nice command line utilities in the TAR ball’s bin/ subdirectory.

  • appendpdf.pl
  • asciify
  • changepagestring.pl
  • changepdfstring.pl
  • changerefkeys.pl
  • crunchjpg_tmpl.pdf
  • crunchjpgs.pl
  • deillustrate.pl
  • deletepdfpage.pl
  • extractallimages.pl
  • extractjpgs.pl
  • fillpdffields.pl
  • getpdffontobject.pl
  • getpdfpage.pl
  • getpdfpageobject.pl
  • getpdftext.pl
  • listfonts.pl
  • listimages.pl
  • listpdffields.pl – sic!!! – I adapted that a little, now it shows page num. (with a little extra help from Chris Dolan) and the position for each field
  • pdfinfo.pl
  • readpdf.pl – shows you the PDF data structure as perl data dump
  • renderpdf.pl
  • replacepdfobj.pl
  • revertpdf.pl
  • rewritepdf.pl
  • setpdfbackground.pl
  • setpdfpage.pl
  • stamppdf.pl
  • uninlinepdfimages.pl

Of course, they all use /usr/bin/perl and not /usr/local/perlbrew/bin/perl, and I am currently still into perlbrew., so how would I replace all these occurrences?
That reminded me of that fixin utility from the very old days, which updates the #! (“shebang”) line appropriately.


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.