Hmm i tried almost all the suggestion here but it didnt seem to work:( Ok what if I need to access a page which requires authorisation instead. That is i need to set the cookies for a username and passowrd and add that to the request header before accessing the page. How can I do this via a perl script?