i am very new to Perl however i was bit expertise in using perl modules i have worked on HTML::table extract but when i dealing with Mechanize module its keep saying me that CAN'T Locate object method "new" via package" while running the below program
#!user/Perl/bin;
use strict;
use warnings;
use WWW::Mechanize;
my $URL ="https://accounts.google.com"
my $username = <>;
my $password = <>;
my $mech =new www::Mechanize();
$mech -> get($url);
$mech -> form_name('formname');
$mech -> field ('username' =>$username);
$mech -> field ('password' =>$password);
$mech -> click('signin');
i also been to some of guide lines given by stack overflow members and installed Mechanize::Firefox as well by following below steps
cpan WWW::Mechanize::Firefox
cpan MozRepl
cpan MozRepl::RemoteObject
however i keep getting the same error while running my code
please help me here..
Thanks N@veen