WWW::Mechanize::Chrome::DSL - Domain Specific Language for short scripts
use Log::Log4perl qw(:easy); Log::Log4perl->easy_init($ERROR); use WWW::Mechanize::Chrome::DSL '$mech'; get 'http://google.de'; my @links = selector('a'); print $_->{innerHTML},"\n" for @links; click($links[0]); print content;
This module exports all methods of one WWW::Mechanize::Chrome object as subroutines. That way, you can write short scripts without cluttering every line with $mech->.
$mech->
This module is highly experimental and might vanish from the distribution again if I find that it is useless.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2009-2017 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install WWW::Mechanize::Chrome, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Chrome
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Chrome
For more information on module installation, please visit the detailed CPAN module installation guide.