in reply to Re: Weird date format behavior with WWW::Mechanize
in thread Weird date format behavior with WWW::Mechanize
I've read that actually. Really I thought this is a straightforward question that can be answered without code, but here you go:
#!perl! -w use strict; use WWW::Mechanize; #browser, extends LWP use HTTP::Cookies::Mozilla; #cookie reader for bot my $mech = WWW::Mechanize->new(); $mech->cookie_jar(HTTP::Cookies::Mozilla->new( file => 'cookies.txt', autosave => 1 )) || die "Couldn't fill cookie jar!\n"; my $url = "http://www.insor.org/insasoweb/offenderDetails.do?sid=35465 +6.011"; $mech->get($url); print $mech->content;
You will notice the difference between how the page looks in the browser and what prints, I hope.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Weird date format behavior with WWW::Mechanize
by Fletch (Bishop) on Apr 01, 2008 at 21:45 UTC | |
by whakka (Hermit) on Apr 01, 2008 at 21:58 UTC | |
by runrig (Abbot) on Apr 01, 2008 at 22:16 UTC |
In Section
Seekers of Perl Wisdom