in reply to 400 error

Neither. :P

use HTTP::Request::Common; my $req = GET "http://www.example.com/";