in reply to Accessing websites

Instead of system or LWP, I'd use WWW-Mechanize.