Works fine! I picked up the run syntax from an old pm node and thought it was necessary. I'll just have to add that to the list of misconceptions I had in this thread...
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
use HTML::Display;
$ENV{'PERL_HTML_DISPLAY_COMMAND'}='"C:\Program Files (x86)\Google\Chro
+me\Application\chrome.exe" %s';
my $base_url = 'https://www.huntington.com/';
my $spider = WWW::Mechanize->new( autocheck => 1 );
$spider->get( $base_url );
die( "$base_url: " . $spider->response->status_line ) unless $spider->
+success;
my $browser = HTML::Display->new();
$browser->display( html => $spider->content( base_href => $base_url )
+);
__END__
|