in reply to how to open page and follow link

It's your lucky day: that's exactly what WWW::Mechanize was written for.

the lowliest monk