in reply to Problems with LWP on FreeBSD

Please use the warnings switch in your she-bang line like so:

#!/usr/bin/perl -w

Now see if there are any helpful hints, and let us know.