You can try to install HTTP::Recorder to see whats happens with your request.
In reply to Re: using variables in lwp::simple by Gangabass in thread using variables in lwp::simple by diomedea