in reply to log into a website via perl client

You might want to try LWP. That should have the functionality you're looking for. Try "perldoc lwp" as a start on docs.

-jbWare