dump-links.pl - Dump links on a webpage
From the examples directory:
perl dump-links.pl
This program demonstrates how to read elements out of the Chrome DOM and how to get at text within nodes. It prints links with the CSS class "download" from a file provided with the distribution.
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.