Hi,
I was trying to use WWW::Mechanize::Firefox (version WWW-Mechanize-Firefox-0.66), i have installed MozRepl-RemoteObject-0.32. Trying to run this small piece of code on Ubuntu 10.04.4
#!/usr/bin/perl
use strict;
use WWW::Mechanize::Firefox;
my $mech = WWW::Mechanize::Firefox->new(
activate => 1, # bring the tab to the foreground
);
$mech->get('http://google.com');
I get the following error.
Can't locate object method "new" via package "MozRepl" at /usr/local/s
+hare/perl/5.10.1/MozRepl/RemoteObject.pm line 434.
Can someone suggest a workaround?