I recommend CAM::PDF, you can see an example of text extraction in this script.
In reply to Re: How toread the contents of PDF by stvn in thread How toread the contents of PDF by arunmep