|Syntactic Confectionery Delight
I'll grant you PDF has some definite flaws but the above solution does as well unfortunately.
It has trouble with titles that were truncated due to length – it returns them as undefined. There also seems to be some problems with asian languages.
I like the speed and mem use compared to some of the others (about 4× faster than PDF->GetInfo). I need to muck about in the info section for some other stuff hopefully I'll figure out the format for long titles. Thanks.