How do I extract an HTML title with Perl?

前端 未结 7 2052
粉色の甜心
粉色の甜心 2021-01-27 07:55

Is there a way to extract HTML page title using Perl? I know it can be passed as a hidden variable during form submit and then retrieved in Perl that way but I was wondering if

7条回答
  •  感动是毒
    2021-01-27 08:30

    It's not clear to me what you are asking. You seem to be talking about something that could run in the user's browser, or at least something that already has an html page loaded.

    If that's not the case, the answer is URI::Title.

提交回复
热议问题