good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: To find the Title of current pageby Corion (Patriarch) |
on May 23, 2016 at 08:54 UTC ( [id://1163849]=note: print w/replies, xml ) | Need Help?? |
If the page sends a real filename, it will be in the Content-Disposition header of the response. Otherwise, there is no way to get at the title of a PDF file from within WWW::Mechanize. You will need one of the PDF modules to extract the metadata from a PDF file.
In Section
Seekers of Perl Wisdom
|
|