repo.or.cz
/
libwww-perl-eserte.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a paragraph to summarize the motivation for releases since 5.815
[libwww-perl-eserte.git]
/
t
/
misc
/
ptest.pl
blob
efb088061bf515b2c3f12c970354ec90a2e9e748
1
#!/local/perl/5.003/bin/perl -w
2
3
use
lib
'blib/lib'
;
4
5
use
LWP
::
Debug
'+'
;
6
7
use
LWP
::
UserAgent
;
8
9
$ua
=
new LWP
::
UserAgent
;
10
$ua
->
timeout
(
10
);
11
12
$req
=
new HTTP
::
Request GET
=>
'http://localhost:3399/foo'
;
13
$res
=
$ua
->
request
(
$req
);
14
15
print
$res
->
as_string
;
16