无法创建WWW的一个实例:机械化::火狐 [英] Can't create an instance of WWW:Mechanize::Firefox
本文介绍了无法创建WWW的一个实例:机械化::火狐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚安装 WWW:机械化::火狐
,但是当我试图创建这个阶级的一个实例:
I've just installed WWW:Mechanize::Firefox
, but when I tried to create an instance of this "class":
my $mech = WWW::Mechanize::Firefox->new();
我得到这个错误:
I get this error:
Failed to connect to , problem connecting to "localhost", port 4242:
No connection could be made because the target machine
actively refused it.
at C:/strawberry/perl/site/lib/MozRepl/Client.pm line 144
谁能帮助吗?
推荐答案
您必须安装 mozrepl 并启动它菜单工具→MozRepl→启动
。
You must install mozrepl and start it in the menu Tools → MozRepl → Start
.
这篇关于无法创建WWW的一个实例:机械化::火狐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文