At a minimum, you're missing a dash between Firefox
. Let's assume that was introduced while typing into the perlmonk form. I don't have Firefox installed, so I can't help further.
$ffpath='C:\\Program Files\\Mozilla Firefox\\firefox.exe';
$mech = WWW::Mechanize::Firefox->new(
file for MozRepl::RemoteObject lists Firefox 7 Beta 5 as the most recent browser tested.
+ The module is now tested with
Firefox 7 Beta 5