[Omaha.pm] LWP
Andy Lester
andy at petdance.com
Mon Oct 2 13:34:27 PDT 2006
On Oct 2, 2006, at 2:56 PM, Hefling, Chris wrote:
> $req = HTTP::Request->new(GET => 'https://www.blahblah.com');
>
> $req = POST $url, ['command' => 'fileget', 'ifilename' =>
> $files1[0], 'xfilename' => $files1[1]];
>
> $req->content_type('application/x-www-form-urlencoded');
>
> $res = $ua->request($req);
>
> $content=$res->content;
>
> print FILE $res->content;
>
>
Can we see the entire program? Do you have warnings and strict on at
the top?
use strict;
use warnings;
If not, do that first, and try it again.
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Omaha-pm
mailing list