Serengeti is a framework that lets you scrape websites using JavaScript syntax.
The tool provides developers with both high-level (think DOM, forms etc) as well as more low-level access (think raw source) of the resources it requests.
To install Serengeti, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Serengeti
CPAN shell
perl -MCPAN -e shell install Serengeti
For more information on module installation, please visit the detailed CPAN module installation guide.