$cookies = new HTTP::Cookies( ignore_discard => 1); $ua = LWP::UserAgent->new(); @fieldValueArray = ('this', 'that', 'andthe', 'other'); my $req = POST "http://127.0.0.1/mycgi", \@fieldValueArray;