in reply to LWP and cookies

Yup, Read perldoc LWP::UserAgent and HTTP::Cookies. $ua->cookie_jar($cookies); will do the trick. Be nice to read an existing browser cookies file wouldn't it :) mitd