in reply to Passing arguments to WWW::Mechanize::Firefox constructor with Moose

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

  • Comment on Re: Passing arguments to WWW::Mechanize::Firefox constructor with Moose
  • Download Code

Replies are listed 'Best First'.
Re^2: Passing arguments to WWW::Mechanize::Firefox constructor with Moose
by Anonymous Monk on Mar 11, 2016 at 00:08 UTC