$ perl -MWWW::Mechanize -e '$w = WWW::Mechanize->new; $w->get("https://mail.yahoo.com"); print $w->uri; print $w->content'|head https://mail.yahoo.com Yahoo! Mail - The best web-based email!