use CAM::PDF; my $pdfFile=CAM::PDF->new('save.pdf'); my $text = $pdfFile->getPageText(1);