WWW::Mechanize::Firefox::DSL - Domain Specific Language for short scripts
use WWW::Mechanize::Firefox::DSL '$mech'; get 'http://google.de'; my @links = selector('a'); print $_->{innerHTML},"\n" for @links; click($links[0]);
To install WWW::Mechanize::Firefox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Firefox
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Firefox
For more information on module installation, please visit the detailed CPAN module installation guide.