Some PDF-files are just pictures, so you cannot extract any text from it, unless you consider using OCR-techniques. I guess it all depends on how the PDF-file was generated.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
Comment on Re: What Perl module will help me extract the text from a PDF file?