MiamiGenome has asked for the wisdom of the Perl Monks concerning the following question:
Here was my code:PDF::Core::PDFGetPrimitive() called too early to check prototype at /u +sr/local/lib/perl5/site_perl/5.8.8/PDF/Core.pm line 288. PDF::Core::PDFGetPrimitive() called too early to check prototype at /u +sr/local/lib/perl5/site_perl/5.8.8/PDF/Core.pm line 294. Can't read cross-reference section, according to trailer
Could someone please offer assistance? Many thanks!use PDF; $pdf=PDF->new("file.pdf"); print "Has ",$pdf->Pages," Pages \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pdf - page count
by runrig (Abbot) on Jun 28, 2006 at 22:05 UTC | |
|
Re: pdf - page count
by traveler (Parson) on Jun 28, 2006 at 22:00 UTC | |
by MiamiGenome (Sexton) on Jun 28, 2006 at 22:12 UTC | |
by traveler (Parson) on Jun 28, 2006 at 22:27 UTC | |
|
Re: pdf - page count
by davidrw (Prior) on Jun 28, 2006 at 21:56 UTC | |
by MiamiGenome (Sexton) on Jun 28, 2006 at 22:03 UTC | |
by traveler (Parson) on Jun 28, 2006 at 22:23 UTC |