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
/
ftp-list
blob
9a4d3cf04cef7e46e7ecb2b8e46558f932298d06
1
#!/local/perl/bin/perl -w
2
3
use
LWP
::
UserAgent
;
4
5
$ua
=
new LWP
::
UserAgent
;
6
7
$req
=
new HTTP
::
Request GET
=>
'ftp://ftp.uit.no/'
;
8
$req
->
header
(
Accept
=>
"text/html"
);
9
10
$res
=
$ua
->
request
(
$req
);
11
12
print
$res
->
as_string
;
13