- or download this
my $ua = new LWP::UserAgent;
my $res = $ua->request(POST 'http://myserver.com/Parse.pl',
Content_Type => 'form-data',
Content => [file => ['Test.ini']]);
- or download this
my $query = CGI->new();
my $file = $query->param('file');
...
# do something with data
}
- or download this
my $ua = new LWP::UserAgent;
my $res = $ua->request(POST 'http://myserver.com/Parse.pl',
Content => $file);