Anyone use PDF perl mods ?
I am trying to read a PDF off of the disk and get the Author, Keywords, etc.
Having trouble with my syntax, not certain why.
use PDF;
use PDF:

****;
$fname=shift;
$pdf=PDF->new;
$result = $pdf->TargetFile ($fname);
$pdf->LoadPageInfo;
print "is a pdf \n" if ($pdf->IsaPDF);
print "the keywords are ",$pdf->GetInfo("Keywords"),"\n";
when I run on a PDF that I verified has Keywords:
pdf.ipl AN2383.pdf
Bad object reference '>' at pdf.ipl line 8
Bad object reference '>' at pdf.ipl line 8
Bad object reference '>' at pdf.ipl line 8
Bad object reference '>' at pdf.ipl line 9
While loading pages got object of type '' at pdf.ipl line 9
is a pdf
the keywords are
So the IsaPDF works. Nothing is returned from GetInfo and I ge the Bad reference errors.
I downloaded PDF.pm and PDF:

**** from cpan
Tips/Pointers/RTFMs appreciated
Andy