in reply to LWP dies calling request method

I tried your script and it works here. So your problem may resides in some module you used. Here I am using:

Probably I'm not using the newest modules, but I hope these information can help you figure out what happened.

Ciao, Valerio

update: changed used modules