in reply to Searching for the content in a PDF file
Update: I haven't tried it, but CAM::PDF::getpdftext.pl might be worth looking at also.