in reply to Re: pdf to text
in thread pdf to text

Hi prasadbabu++,
thanks for mentioning CAM::PDF - great!
just as a side note: for me, calling ->new() does not return the number of pages, I had to do the following:
#!/usr/bin/perl -w use strict; use CAM::PDF; my $self = CAM::PDF->new('test.pdf'); for (1..$self->{'PageCount'}) { my $page = $self->getPageText($_) ; print "### page #$_ ###\n"; print $page; }

Regards,
svenXY