in reply to how to extract text from PDF

Nothing that I've tried myself, but the general hint is: search CPAN for something suitable - search results here.