My perl script contains
______________________________________
#usr/local/bin/perl

use CAM::PDF;
use CAM::PDF::PageText;

$filename='C:\blah-blah-blah.pdf';

my $pdf = CAM::PDF->new($filename);
my $pageone_tree = $pdf->getPageContentTree(1);
print CAM::PDF::PageText->render($pageone_tree);
_________________________________________

When I run this, I get
______________________________________________
Can't locate CAM/PDF/PageText.pm in @INC (@INC contains: C:\Program 
Files\Active
State Perl Dev Kit 6.0\lib\ C:/Perl/lib C:/Perl/site/lib .) at dumppdf.pl 
line 4
_______________________________________________

CAM::PDF is already installed.
When I try to install CAM::PDF::PageText, I get
______________________________________
Repositories:
[1] UWINN
[2] ActiveState PPM2 Repository
[3] ActiveState Package Repository
[4] CPAN
[5] perlmonks 5.8

C:\blah-blah-blah\Perl>ppm install CAM::PDF::PageText
Searching for 'CAM::PDF::PageText' returned no results. Try a broader search 
first.
________________________________________

Should I be using some other repository than the ones listed above? I seem 
to remember a similar problem before, having something to do with PDK. I 
installed the trial version of PDK at one time, but it has expired. Do I 
need to remove it?

TIA,

Phil 

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to