http://www.perlmonks.org?node_id=783734


in reply to Extracting outline (bookmark) information from PDF files

Haven't tried this, but you can try PDF::API2::Outline
Raghu