in reply to cfm links and lwp

You really don't like to use
or die "$!"
do you?

First thing I'd do is sprinkle my code liberally with that magic incantation.

Secondly, I think you may have mistaken the cookie syntax for LWP.

My (working) LWP script which needs to accept cookies has this:

$ua->cookie_jar(HTTP::Cookies->new(file => "cookies.txt", autosave => 1));


($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print