in reply to Re^2: LWP::UserAgent Bad and Forbidden requests
in thread LWP::UserAgent Bad and Forbidden requests

I agree that spoofing another user agent is an ugly hack, however setting an appropriate user agent is always a good idea:

my $ua = LWP::UserAgent->new(agent => 'MyApp/0.1');