in reply to PDF information
You are treating the undefined variable, $pdf, as a blessed object. With no blessings, perl can't locate a method.
Try this instead,
PDF::Parse is a utility module of PDF. It does not provide a constructor.use PDF; my $pdf = PDF->new($filename); my $info = $pdf->GetInfo('Title'); print $info, $/;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF information
by nesanhere (Initiate) on Sep 02, 2005 at 10:46 UTC |