WWW-Mechanize-Chrome-Webshot
view release on metacpan or search on metacpan
lib/WWW/Mechanize/Chrome/Webshot.pm view on Meta::CPAN
'exif' => undef,
# this may be instantiated lazily,
# when needed as mech is expensive to load
# or it can be passed on to us via the constructor
'WWW::Mechanize::Chrome-object' => undef,
# these are the final mech params,
# from confighash and user-specified $params
'WWW::Mechanize::Chrome-params' => undef,
}
};
bless $self => $class;
# this will read configuration and create confighash,
# make logger, verbosity,
# instantiate any objects we need here etc.
if( $self->init($params) ){ print STDERR "${whoami} (via $parent), line ".__LINE__." : error, call to init() has failed.\n"; return undef }
# Now we have a logger
my $log = $self->log();
# do module-specific init like instantiating the mech, unless params has 'launch-mech-on-demand'=>1
( run in 1.479 second using v1.01-cache-2.11-cpan-2b1a40005be )