Le samedi 13 août 2005 à 16:40, Eric Langheinrich écrivait: > I reread the docs and saw this: > > <snip> > > And updated my post request to look like this: > > my $response = $ua->request(POST $baseurl, Content_Type => 'form-data', > Content => [ request_params => $task_add_postkey, datafile => [ undef, > 'datafile', Content-Type => 'application/octet-stream', Content => > $filedata ] ]); > > > When I run the script, I get: > > Bareword "Content" not allowed while "strict subs" in use at > regcompliance.pl line 438 > > Any ideas?
s/Content-Type/Content_Type/ -- Philippe "BooK" Bruhat In the contest between simplicity and silence, silence hasn't got a prayer. (Moral from Groo The Wanderer #15 (Epic))