perl模块' www ::机械化:: chrome'不工作
我使用'www :: Mechanize :: Chrome'到Gen pdf。
use Log::Log4perl qw(:easy);
use WWW::Mechanize::Chrome;
my $chrome;
sub chrome {
Log::Log4perl->easy_init($ERROR);
my $mech = WWW::Mechanize::Chrome->new(
headless => 1,
'disable-gpu' => 1,
launch_exe => 'chromium-browser',
);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法分配函数:
运行此示例,您将在第3行中遇到相同的错误:
尤其是在这种情况下,您的调试器无法处理
lvalue subroutine
You can not assign to function:
Run this example and you will get same error on line 3:
Particularly in this case your debugger can not process
lvalue subroutine