On Sun, 11 Mar 2007, Phil Richcreek wrote:

> 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.

The names of ppm packages correspond to the CPAN 
distribution names, which, especially for distributions
that provide a number of modules, are not always
named in terms of the included modules. According to
   http://cpan.uwinnipeg.ca/module/CAM::PDF::PageText
CAM::PDF::PageText is contained in the most recent
version of the CAM-PDF package. It may be that
you installed an earlier version of CAM-PDF; for example,
    http://search.cpan.org/~clotho/CAM-PDF-1.01/
doesn't provide CAM::PDF::PageText.

-- 
best regards,
Randy Kobes
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to