Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use PERL to get file's Title?

Status
Not open for further replies.

rxsid

Programmer
Jul 9, 2002
57
0
0
US
Hi all,

Can PERL be used to get a file's Title (found in the documents summary property box)? I know about using stat -f to get a file's last access time, build time, permissions, etc. but that function can't return a documents Title.

Specifically, I need to be able to retrieve the title (not the file name) from .pdf files in a directory.

Any ideas?

Thanks
 
Just offhand, have you checked CPAN for modules that deal directly with pdf's? I'm sure that if there is, the functionality you're asking for is probably there. Have a look.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top