Apparently it's as easy as this:
my $ffm = FFMech->new(launch => 'firefox');
How does Moose know to pass that argument to WWW::Mechanize::Firefox and not some other object that FFMech might extend?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
In reply to Re: Passing arguments to WWW::Mechanize::Firefox constructor with Moose
by nysus
in thread Passing arguments to WWW::Mechanize::Firefox constructor with Moose
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |