Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
除了 LWP 模块,还有其他模块在 perl 中提取网页内容吗?我想在不使用任何 LWP 模块的情况下阅读 perl 中的网页内容。
谢谢,克里希纳
HTTP::小
依赖项:
字节 Carp IO::Socket strict Time::Local 警告
作为 Web 框架的一部分,Mojolicious中包含一个非常强大的替代方案。有一个UserAgent与DOM解析器配合得很好。
通过一个小的现实世界示例查看此答案。