- or download this
#!/usr/bin/perl
...
print "summing $arg1 en $arg2\n";
return $arg1 + $arg2;
}
- or download this
use strict;
use Socket;
...
print $line;
}
close SOCKET or die "close: $!";
- or download this
use LWP::UserAgent;
my $ua = new LWP::UserAgent;
...
my $response = $ua->post('http://localhost:8999', $content) ;
print $response->content;
- or download this
<title>403 Forbidden</title>
<h1>403 Forbidden</h1>
- or download this
#!/usr/bin/perl -w
...
my $response = $ua->request($req);
print $response->content;