This package comes with some sample programs that I can try to install in /home/cpanrun/build/5.10.0/bin. Note that you can avoid these questions by passing the '-n' option to 'Makefile.PL'. Do you want to install lwp-request? [y] y Do you want to install lwp-mirror? [y] y Do you want to install lwp-rget? [y] y Do you want to install lwp-download? [y] y The lwp-request program will use the name it is invoked with to determine what HTTP method to use. I can set up alias for the most common HTTP methods. These alias are also installed in /home/cpanrun/build/5.10.0/bin. Do you want to install the GET alias? [n] n Do you want to install the HEAD alias? [n] n Do you want to install the POST alias? [n] n Checking for URI........... ok Checking for HTML::Parser.. ok Checking for MIME::Base64.. ok Checking for Net::FTP...... ok Checking for Digest::MD5 .. ok Checking if your kit is complete... Looks good Writing Makefile for LWP cp lib/LWP/RobotUA.pm blib/lib/LWP/RobotUA.pm cp lib/LWP/Authen/Ntlm.pm blib/lib/LWP/Authen/Ntlm.pm cp lib/LWP.pm blib/lib/LWP.pm cp lib/HTTP/Headers/ETag.pm blib/lib/HTTP/Headers/ETag.pm cp lib/LWP/Protocol.pm blib/lib/LWP/Protocol.pm cp lwptut.pod blib/lib/lwptut.pod cp lib/HTTP/Request/Common.pm blib/lib/HTTP/Request/Common.pm cp lib/HTTP/Message.pm blib/lib/HTTP/Message.pm cp lib/LWP/Protocol/ftp.pm blib/lib/LWP/Protocol/ftp.pm cp lib/HTML/Form.pm blib/lib/HTML/Form.pm cp lib/HTTP/Cookies/Netscape.pm blib/lib/HTTP/Cookies/Netscape.pm cp lib/LWP/Authen/Digest.pm blib/lib/LWP/Authen/Digest.pm cp lib/LWP/Protocol/gopher.pm blib/lib/LWP/Protocol/gopher.pm cp lib/Net/HTTP/NB.pm blib/lib/Net/HTTP/NB.pm cp lib/HTTP/Status.pm blib/lib/HTTP/Status.pm cp lib/LWP/Protocol/cpan.pm blib/lib/LWP/Protocol/cpan.pm cp lib/Net/HTTPS.pm blib/lib/Net/HTTPS.pm cp lib/HTTP/Headers/Util.pm blib/lib/HTTP/Headers/Util.pm cp lib/LWP/Authen/Basic.pm blib/lib/LWP/Authen/Basic.pm cp lib/HTTP/Cookies/Microsoft.pm blib/lib/HTTP/Cookies/Microsoft.pm cp lib/LWP/UserAgent.pm blib/lib/LWP/UserAgent.pm cp lib/LWP/Protocol/loopback.pm blib/lib/LWP/Protocol/loopback.pm cp lib/LWP/Protocol/nntp.pm blib/lib/LWP/Protocol/nntp.pm cp lib/LWP/Protocol/http.pm blib/lib/LWP/Protocol/http.pm cp lib/LWP/Protocol/https10.pm blib/lib/LWP/Protocol/https10.pm cp lib/LWP/Protocol/mailto.pm blib/lib/LWP/Protocol/mailto.pm cp lib/LWP/MemberMixin.pm blib/lib/LWP/MemberMixin.pm cp lib/HTTP/Headers/Auth.pm blib/lib/HTTP/Headers/Auth.pm cp lib/LWP/Debug.pm blib/lib/LWP/Debug.pm cp lib/Net/HTTP.pm blib/lib/Net/HTTP.pm cp lib/LWP/media.types blib/lib/LWP/media.types cp lib/HTTP/Daemon.pm blib/lib/HTTP/Daemon.pm cp lib/HTTP/Cookies.pm blib/lib/HTTP/Cookies.pm cp lib/LWP/ConnCache.pm blib/lib/LWP/ConnCache.pm cp lib/File/Listing.pm blib/lib/File/Listing.pm cp lib/WWW/RobotRules/AnyDBM_File.pm blib/lib/WWW/RobotRules/AnyDBM_File.pm cp lib/LWP/MediaTypes.pm blib/lib/LWP/MediaTypes.pm cp lwpcook.pod blib/lib/lwpcook.pod cp lib/HTTP/Date.pm blib/lib/HTTP/Date.pm cp lib/LWP/Protocol/file.pm blib/lib/LWP/Protocol/file.pm cp lib/LWP/Protocol/http10.pm blib/lib/LWP/Protocol/http10.pm cp lib/LWP/Protocol/GHTTP.pm blib/lib/LWP/Protocol/GHTTP.pm cp lib/LWP/DebugFile.pm blib/lib/LWP/DebugFile.pm cp lib/HTTP/Negotiate.pm blib/lib/HTTP/Negotiate.pm cp lib/HTTP/Request.pm blib/lib/HTTP/Request.pm cp lib/WWW/RobotRules.pm blib/lib/WWW/RobotRules.pm cp lib/LWP/Protocol/data.pm blib/lib/LWP/Protocol/data.pm cp lib/LWP/Protocol/nogo.pm blib/lib/LWP/Protocol/nogo.pm cp lib/HTTP/Response.pm blib/lib/HTTP/Response.pm cp lib/LWP/Simple.pm blib/lib/LWP/Simple.pm cp lib/HTTP/Headers.pm blib/lib/HTTP/Headers.pm cp lib/LWP/Protocol/https.pm blib/lib/LWP/Protocol/https.pm cp lib/Bundle/LWP.pm blib/lib/Bundle/LWP.pm cp lib/Net/HTTP/Methods.pm blib/lib/Net/HTTP/Methods.pm cp bin/lwp-mirror blib/script/lwp-mirror /home/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-mirror cp bin/lwp-download blib/script/lwp-download /home/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-download cp bin/lwp-rget blib/script/lwp-rget /home/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-rget cp bin/lwp-request blib/script/lwp-request /home/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-request Manifying blib/man1/lwp-mirror.1 Manifying blib/man1/lwp-download.1 Manifying blib/man1/lwp-rget.1 Manifying blib/man1/lwp-request.1 Manifying blib/man3/LWP::RobotUA.3 Manifying blib/man3/LWP::Authen::Ntlm.3 Manifying blib/man3/LWP.3 Manifying blib/man3/LWP::Protocol.3 Manifying blib/man3/HTTP::Request::Common.3 Manifying blib/man3/lwptut.3 Manifying blib/man3/HTTP::Message.3 Manifying blib/man3/HTML::Form.3 Manifying blib/man3/HTTP::Cookies::Netscape.3 Manifying blib/man3/Net::HTTP::NB.3 Manifying blib/man3/HTTP::Status.3 Manifying blib/man3/HTTP::Headers::Util.3 Manifying blib/man3/HTTP::Cookies::Microsoft.3 Manifying blib/man3/LWP::UserAgent.3 Manifying blib/man3/LWP::MemberMixin.3 Manifying blib/man3/LWP::Debug.3 Manifying blib/man3/Net::HTTP.3 Manifying blib/man3/HTTP::Daemon.3 Manifying blib/man3/HTTP::Cookies.3 Manifying blib/man3/LWP::ConnCache.3 Manifying blib/man3/File::Listing.3 Manifying blib/man3/WWW::RobotRules::AnyDBM_File.3 Manifying blib/man3/lwpcook.3 Manifying blib/man3/LWP::MediaTypes.3 Manifying blib/man3/HTTP::Date.3 Manifying blib/man3/WWW::RobotRules.3 Manifying blib/man3/HTTP::Request.3 Manifying blib/man3/HTTP::Negotiate.3 Manifying blib/man3/LWP::DebugFile.3 Manifying blib/man3/HTTP::Response.3 Manifying blib/man3/HTTP::Headers.3 Manifying blib/man3/LWP::Simple.3 Manifying blib/man3/Bundle::LWP.3 /home/cpanrun/build/5.10.0/bin/perl t/TEST 1 base/common-req.......1..22 GET http://www.sn.no/ ok 1 HEAD http://www.sn.no/ From: aas@sn.no If-Match: abc ok 2 ok 3 PUT http://www.sn.no foo ok 4 ok 5 ok 6 POST http://www.sn.no Content-Length: 58 Content-Type: application/x-www-form-urlencoded Bar: foo foo=bar%3Bbaz&baz=a&baz=b&baz=c&foo=zoo%3D%26&space+=+%2B+ ok 7 ok 8 POST mailto:gisle@aas.no Content-Length: 6 Content-Type: text/plain Subject: Heisan Howdy ok 9 POST http://www.perl.org/survey.cgi Content-Length: 390 Content-Type: multipart/form-data; boundary=xYzZY --xYzZY Content-Disposition: form-data; name="name" Gisle Aas --xYzZY Content-Disposition: form-data; name="email" gisle@aas.no --xYzZY Content-Disposition: form-data; name="gender" m --xYzZY Content-Disposition: form-data; name="born" 1964 --xYzZY Content-Disposition: form-data; name="file"; filename="test-4943" Content-Type: text/plain foo bar baz --xYzZY-- ok 10 Content-Disposition: form-data; name="file"; filename="test-4943" Content-Type: text/plain foo bar baz ok 11 ok 12 ok 13 POST http://www.perl.org/survey.cgi Content-Length: 132 Content-Type: multipart/form-data; boundary=xYzZY --xYzZY Content-Disposition: form-data; name="file"; filename="xxx" Content-Type: text/html

Hello, world!

--xYzZY-- ok 14 POST http://www.perl.org/survey.cgi Content-Length: 72 Content-Type: multipart/form-data; boundary=xYzZY --xYzZY Content-Disposition: form-data; name="file" foo --xYzZY-- ok 15 POST http://www.perl.org/survey.cgi Content-Length: 13 Content-Type: application/x-www-form-urlencoded bar=24&foo=42 ok 16 POST http://www.perl.org/survey.cgi Content-Length: 26588 Content-Type: multipart/form-data; boundary=9OuSQoY00M46xToPgAZsAen5H8ljIYckVXFqyOkH CODE(0x2feb88) ok 17 ok 18 15 chunks, total size is 26588 bytes ok 19 ok 20 ok 21 ok 22 ok base/cookies..........1..42 ok 1 ok 2 ok 3 ok 4 Set-Cookie3: CUSTOMER=WILE_E_COYOTE; path="/"; domain=www.acme.com; path_spec; expires="2009-11-09 23:12:40Z"; version=0 Set-Cookie3: PART_NUMBER=ROCKET_LAUNCHER_0001; path="/"; domain=www.acme.com; path_spec; discard; version=0 Set-Cookie3: SHIPPING=FEDEX; path="/foo"; domain=www.acme.com; path_spec; discard; version=0 ok 5 ok 6 Set-Cookie3: PART_NUMBER=ROCKET_LAUNCHER_0001; path="/"; domain=www.acme.com; path_spec; discard; version=0 Set-Cookie3: PART_NUMBER=RIDING_ROCKET_0023; path="/ammo"; domain=www.acme.com; path_spec; discard; version=0 ok 7 ok 8 ok 9 ok 10 FINAL COOKIE: $Version=1; Part_Number=Rocket_Launcher_0001; $Path="/acme"; Customer=WILE_E_COYOTE; $Path="/acme"; Shipping=FedEx; $Path="/acme" ok 11 Set-Cookie3: Customer=WILE_E_COYOTE; path="/acme"; domain=www.acme.com; path_spec; version=1 Set-Cookie3: Part_Number=Rocket_Launcher_0001; path="/acme"; domain=www.acme.com; path_spec; version=1 Set-Cookie3: Shipping=FedEx; path="/acme"; domain=www.acme.com; path_spec; version=1 ok 12 ok 13 Set-Cookie3: Part_Number=Rocket_Launcher_0001; path="/acme"; domain=www.acme.com; path_spec; version=1 Set-Cookie3: Part_Number=Riding_Rocket_0023; path="/acme/ammo"; domain=www.acme.com; path_spec; version=1 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 Set-Cookie3: foo=bar; path="/foo%2F%25/@@%0Anew%E5"; domain=www.acme.com; version=1 ok 26 ok 27 ok 28 ok 29 Set-Cookie3: Customer=WILE_E_COYOTE; path="/"; domain=.acme.com; discard; version=0 Set-Cookie3: PART_NUMBER="3,4"; path="/"; domain=foo.bar.acme.com; discard; version=0 ok 30 --- ok 31 Cookie: $Version=1; foo3=bar; foo1=bar; $Port; foo2=bar; $Domain=".local" ok 32 Set-Cookie3: foo2=bar; path="/"; domain=.local; version=1 Set-Cookie3: foo1=bar; path="/"; domain=example.local; port=_80; discard; version=1 Set-Cookie3: foo3=bar; path="/"; domain=example.local; version=1 --- Test for empty path... 200 OK Set-Cookie: JSESSIONID=ABCDERANDOM123; Path= ok 33 ok 34 Set-Cookie3: trip.appServer=1111-0000-x-024; path="/"; domain=.trip.com; path_spec; discard; version=0 Set-Cookie3: JSESSIONID=fkumjm7nt1.JS24; path="/trs"; domain=www.trip.com; path_spec; discard; version=1 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok base/date.............1..59 'Thu Feb 3 00:00:00 GMT 1994' => 760233600 ok 1 'Thu Feb 3 00:00:00 1994' => 760233600 ok 2 'Thu, 03 Feb 1994 00:00:00 GMT' => 760233600 ok 3 'Thursday, 03-Feb-94 00:00:00 GMT' => 760233600 ok 4 'Thursday, 03-Feb-1994 00:00:00 GMT' => 760233600 ok 5 '03/Feb/1994:00:00:00 0000' => 760233600 ok 6 '03/Feb/1994:01:00:00 +0100' => 760233600 ok 7 '02/Feb/1994:23:00:00 -0100' => 760233600 ok 8 '03 Feb 1994 00:00:00 GMT' => 760233600 ok 9 '03-Feb-94 00:00:00 GMT' => 760233600 ok 10 '03-Feb-1994 00:00:00 GMT' => 760233600 ok 11 '03-Feb-1994 00:00 GMT' => 760233600 ok 12 '03-Feb-1994 00:00' => 760233600 ok 13 '03-Feb-94' => 760233600 ok 14 '03-Feb-1994' => 760233600 ok 15 '03 Feb 1994' => 760233600 ok 16 '03/Feb/1994' => 760233600 ok 17 'Feb 3 1994' => 760233600 ok 18 '02-03-94 12:00AM' => 760233600 ok 19 '1994-02-03 00:00:00 +0000' => 760233600 ok 20 '1994-02-03' => 760233600 ok 21 '19940203' => 760233600 ok 22 '1994-02-03T00:00:00+0000' => 760233600 ok 23 '1994-02-02T23:00:00-0100' => 760233600 ok 24 '1994-02-02T23:00:00-01:00' => 760233600 ok 25 '1994-02-03T00:00:00 Z' => 760233600 ok 26 '19940203T000000Z' => 760233600 ok 27 '199402030000' => 760233600 ok 28 ' 03/Feb/1994 ' => 760233600 ok 29 ' 03 Feb 1994 0:00 ' => 760233600 ok 30 'Feb 24 11:40' => 1203882000 (1203882000) ok 31 undef ok 32 '' ok 33 'Garbage' ok 34 'Mandag 16. September 1996' ok 35 '12 Arp 2003' ok 36 '1980-00-01' ok 37 '1980-13-01' ok 38 '1980-01-00' ok 39 '1980-01-32' ok 40 '1980-01-01 25:00:00' ok 41 '1980-01-01 00:61:00' ok 42 '1980-01-01 00:00:61' ok 43 Testing AM/PM gruff... Testing time2iso functions 1996-11-12 00:00:00 ok 44 1996-11-12 00:00:00 ok 45 1996-11-12 12:00:00 ok 46 1996-11-12 12:00:00 ok 47 1996-11-12 01:05:00 ok 48 1996-11-12 00:05:00 ok 49 1996-11-12 13:05:00 ok 50 1996-11-12 12:05:00 ok 51 FRAC 946713601.234 = 2000-01-01 00:00:01 ok 52 LOCAL 2008-02-27 11:40:59 1970-01-06 10:53:20 GMT 2008-02-27 19:40:59Z 1970-01-06 18:53:20Z ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 HTTP::Date 1.47 ok base/headers-auth.....1..4 401 Unauthorized WWW-Authenticate: Foo realm="WallyWorld", foo=bar, Bar realm="WallyWorld2" WWW-Authenticate: Basic Realm="WallyWorld", foo=bar, bar=baz ok 1 ok 2 ok 3 401 Unauthorized WWW-Authenticate: Basic realm=foo1 401 Unauthorized WWW-Authenticate: Basic realm="foo2" 401 Unauthorized WWW-Authenticate: Basic realm="foo3", foo=33 WWW-Authenticate: Digest nonce=bar, foo=foo ok 4 ok base/headers-etag.....1..4 ok 1 ok 2 ok 3 ok 4 If-Match: W/"foo", "bar", "baz", "bar" If-None-Match: "333" If-Range: Wed, 27 Feb 2008 19:41:00 GMT ETag: W/"tag2" ok base/headers-util.....1..15 split_header_words() tests ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 Extra tests ok 14 ok 15 ok base/headers..........1..156 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:00 2008 # Current time GMT: Wed Feb 27 19:41:00 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 ok 79 ok 80 ok 81 ok 82 ok 83 ok 84 ok 85 ok 86 ok 87 ok 88 ok 89 ok 90 ok 91 ok 92 ok 93 ok 94 ok 95 ok 96 ok 97 ok 98 ok 99 ok 100 ok 101 ok 102 ok 103 ok 104 ok 105 ok 106 ok 107 ok 108 ok 109 ok 110 ok 111 ok 112 ok 113 ok 114 ok 115 ok 116 ok 117 ok 118 ok 119 ok 120 ok 121 ok 122 ok 123 ok 124 ok 125 ok 126 ok 127 ok 128 ok 129 ok 130 ok 131 ok 132 ok 133 ok 134 ok 135 ok 136 ok 137 ok 138 ok 139 ok 140 ok 141 ok 142 ok 143 ok 144 ok 145 ok 146 ok 147 ok 148 ok 149 ok 150 ok 151 ok 152 ok 153 ok 154 ok 155 ok 156 ok base/http.............1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok base/listing..........1..6 25 lines found ok 1 CVS d 0 Fri Mar 16 15:47:00 2007 040755 Debug.pm f 2384 Tue Feb 26 21:14:00 2008 100644 IO.pm f 2145 Tue Feb 26 20:09:00 2008 100644 MediaTypes.pm f 3960 Thu Mar 15 18:05:00 2007 100644 MemberMixin.pm f 792 Tue Feb 26 20:12:00 2008 100644 Protocol d 0 Thu Mar 15 18:05:00 2007 040755 Protocol.pm f 5613 Tue Feb 26 20:16:00 2008 100644 RobotUA.pm f 5963 Tue Feb 26 21:27:00 2008 100644 Simple.pm f 5071 Fri Mar 16 12:25:00 2007 100644 Socket.pm f 8817 Thu Mar 15 18:05:00 2007 100644 TkIO.pm f 2121 Tue Feb 5 14:22:00 2008 100644 UserAgent.pm f 19628 Thu Mar 15 18:05:00 2007 100644 media.types f 2841 Tue Feb 5 19:06:00 2008 100644 CVS/Entries f 545 Fri Mar 16 15:47:00 2007 100644 CVS/Repository f 39 Sat Mar 10 09:05:00 2007 100644 CVS/Root f 19 Sat Mar 10 09:05:00 2007 100644 Protocol/CVS d 0 Thu Mar 15 18:05:00 2007 040755 Protocol/file.pm f 4646 Tue Feb 26 20:13:00 2008 100644 Protocol/ftp.pm f 13006 Thu Mar 15 18:05:00 2007 100644 Protocol/gopher.pm f 5935 Tue Mar 6 10:29:00 2007 100644 Protocol/http.pm f 5453 Tue Mar 6 10:29:00 2007 100644 Protocol/mailto.pm f 2365 Tue Feb 26 20:13:00 2008 100644 Protocol/CVS/Entries f 238 Thu Mar 15 18:05:00 2007 100644 Protocol/CVS/Repository f 48 Sat Mar 10 09:05:00 2007 100644 Protocol/CVS/Root f 19 Sat Mar 10 09:05:00 2007 100644 ok 2 ok 3 ok 4 ok 5 ok 6 ok base/mediatypes.......1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 Image suffixes: ief pbm tif xwd xbm xpm pnm ras jpeg bmp jfif ppm jpe tiff png fts rgb pgm jpg tga gif 200 Document follows Content-Encoding: gzip Content-Encoding: x-uuencode Content-Type: application/x-tar Title: file.tar.gz.uu ok 12 ok 13 ok 14 ok base/message-old......1..20 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:01 2008 # Current time GMT: Wed Feb 27 19:41:01 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok base/message-parts....1..39 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:02 2008 # Current time GMT: Wed Feb 27 19:41:02 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok base/message..........1..95 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:02 2008 # Current time GMT: Wed Feb 27 19:41:02 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 ok 79 ok 80 ok 81 ok 82 ok 83 ok 84 ok 85 ok 86 ok 87 ok 88 ok 89 ok 90 ok 91 ok 92 ok 93 ok 94 ok 95 ok base/negotiate........1..5 ------------- var2 1.000 var1 0.950 var3 0.333 ------------- ok 1 The chosen one is 'var2' ok 2 ------------- var2 0.250 var1 0.000 var3 0.000 ------------- ok 3 Negotiation parameters in the request language: en q = 0.9999 fr q = 0.5 de q = 1 es q = 0.1 Evaluating var-en (ct='text/html') qs = 1.000 lang = en -- Exact language match at q=0.9999 Q=0.9999 (q=1, mbx=undef, qe=1, qc=1, ql=0.9999, qs=1) Evaluating var-de (ct='text/html') qs = 1.000 lang = de -- Exact language match at q=1 Q=1.0000 (q=1, mbx=undef, qe=1, qc=1, ql=1, qs=1) Evaluating var-ES (ct='text/html') qs = 1.000 lang = es -- Exact language match at q=0.1 Q=0.1000 (q=1, mbx=undef, qe=1, qc=1, ql=0.1, qs=1) Evaluating provoke-warning (ct='') qs = 1.000 lang = x-no-content-type -- No exact language match -- x-no-content-type isn't a en -- x-no-content-type isn't a fr -- x-no-content-type isn't a de -- x-no-content-type isn't a es Q=0.0010 (q=1, mbx=undef, qe=1, qc=1, ql=0.001, qs=1) ok 4 Negotiation parameters in the request language: en-us q = 1 Evaluating Canadian English (ct='text/html') qs = 1.000 lang = en-ca -- No exact language match -- en-ca isn't a en-us Q=0.0010 (q=1, mbx=undef, qe=1, qc=1, ql=0.001, qs=1) Evaluating Generic English (ct='text/html') qs = 1.000 lang = en -- No exact language match -- en-us ISA en Q=1.0000 (q=1, mbx=undef, qe=1, qc=1, ql=1, qs=1) Evaluating Non-Specific (ct='text/html') qs = 1.000 Q=0.5000 (q=1, mbx=undef, qe=1, qc=1, ql=0.5, qs=1) ok 5 ok base/protocols........1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok base/response.........1..8 200 OK Date: Wed, 27 Feb 2008 19:40:40 GMT Last-Modified: Mon, 31 Dec 2007 22:47:45 GMT Client-Date: Wed, 27 Feb 2008 19:40:45 GMT ok 1 ok 2 ok 3 current_age = 35 freshness_lifetime = 86400 response is fresh it will be fresh is 86365 more seconds 200 OK Date: Wed, 27 Feb 2008 19:40:40 GMT Expires: Wed, 27 Feb 2008 19:41:05 GMT Last-Modified: Mon, 31 Dec 2007 22:47:45 GMT Client-Date: Wed, 27 Feb 2008 19:40:45 GMT freshness_lifetime = 25 ok 4 200 OK Cache-Control: junk Cache-Control: max-age = 10 Date: Wed, 27 Feb 2008 19:40:40 GMT Age: 300 Last-Modified: Mon, 31 Dec 2007 22:47:45 GMT Client-Date: Wed, 27 Feb 2008 19:40:45 GMT current_age = 330 freshness_lifetime = 10 ok 5 ok 6 ok 7 ok 8 ok base/status...........1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok base/ua...............1..10 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok html/form-param.......1..24 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:06 2008 # Current time GMT: Wed Feb 27 19:41:06 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 # Done ok 24 ok html/form.............1..122 # Running under perl version 5.010000 for solaris # Current time local: Wed Feb 27 11:41:06 2008 # Current time GMT: Wed Feb 27 19:41:06 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 ok 79 ok 80 ok 81 ok 82 ok 83 ok 84 ok 85 ok 86 ok 87 ok 88 ok 89 ok 90 ok 91 ok 92 ok 93 ok 94 ok 95 ok 96 ok 97 ok 98 ok 99 ok 100 ok 101 ok 102 ok 103 ok 104 ok 105 ok 106 ok 107 ok 108 ok 109 ok 110 ok 111 ok 112 ok 113 ok 114 ok 115 ok 116 ok 117 ok 118 ok 119 ok 120 ok 121 ok 122 ok robot/rules-dbm.......1..13 ok 1 Rules: /aas /per /god /old ok 2 Rules: ok 3 No visits: 2 Last visit: 1204141277 Fresh until: 1235677267 ok 4 ok 5 ok 6 Agent-Name: myrobot ok 7 *** Dump of database *** www.aas.no:80|vis 3; 1204141277; Wed Feb 27 11:41:17 2008 www.aas.no:80|exp 1235677267; Thu Feb 26 11:41:07 2009 www.sn.no:80|vis 1; 1204141267; Wed Feb 27 11:41:07 2008 |ua-name| myrobot ****** ok 8 ok 9 ok 10 ok 11 ok 12 *** Dump of database *** www.sn.no:8080|exp 1204141270; Wed Feb 27 11:41:10 2008 www.sn.no:8080|r2 /bar www.sn.no:8080|r1 /foo |ua-name| MOMSpider ****** No agent name specified at robot/rules-dbm.t line 122 ok 13 ok robot/rules...........1..50 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok robot/ua-get..........1..8 Will access HTTP server at http://sparcu10v7:45603/ ok 1 ok 2 ok 3 ok 4 Terminating server... ok 5 ok 6 ok 7 ok 8 ok robot/ua..............1..7 Will access HTTP server at http://sparcu10v7:45608/ ok 1 ok 2 ok 3 ok 4 Terminating server... ok 5 ok 6 ok 7 ok local/autoload-get....1..1 Trying to fetch '.' ok 1 200 OK Content-Length: 487 Content-Type: text/html Last-Modified: Wed, 27 Feb 2008 19:41:12 GMT Client-Date: Wed, 27 Feb 2008 19:41:32 GMT Content-Base: file:./ Title: Directory . Directory .

Directory listing of .

ok local/autoload........1..1 Trying to fetch '.' ok 1 200 OK Content-Length: 487 Content-Type: text/html Last-Modified: Wed, 27 Feb 2008 19:41:12 GMT Client-Date: Wed, 27 Feb 2008 19:41:33 GMT Content-Base: file:./ Title: Directory . Directory .

Directory listing of .

ok local/chunked.........1..5 ok 1 - [629] traditional, unchunked POST request ok 2 - [8] chunked with illegal Content-Length header; tiny message ok 3 - [868] chunked with illegal Content-Length header; medium sized ok 4 - [1104] chunked correctly, size ~1k; base for the big next test ok 5 - [1130496] chunked with many chunks ok local/get.............1..2 ok 1 ok 2 ok local/http-get........1..21 # Will access HTTP server at http://sparcu10v7:45618/ #------------Testing: Bad request... ok 1 ok 2 #------------Testing: Simple echo... ok 3 ok 4 #------------Testing: Send file... # 147 bytes written to test-4975.html ok 5 ok 6 ok 7 #------------Testing: Check redirect... ok 8 ok 9 ok 10 ok 11 ok 12 #------------Testing: Check basic authorization... ok 13 ok 14 # Host port: sparcu10v7:45618 ok 15 ok 16 #------------Testing: Check proxy... ok 17 #------------Testing: Check POSTing... ok 18 ok 19 ok 20 #------------Testing: Terminating server... ok 21 ok local/http............1..18 Will access HTTP server at http://sparcu10v7:45647/ Bad request... ok 1 ok 2 Simple echo... ok 3 ok 4 Send file... ok 5 ok 6 ok 7 Check redirect... ok 8 ok 9 ok 10 ok 11 Check basic authorization... ok 12 ok 13 ok 14 ok 15 Check proxy... ok 16 Check POSTing... ok 17 Terminating server... ok 18 ok local/protosub........1..6 CTOR: myhttp->new(http LWP::UserAgent=HASH(0x367988)) ok 1 ua: LWP::UserAgent=HASH(0x367988) parse_head: 1 scheme: http max_size: REQUEST: myhttp=HASH(0x373bc8)->request(HTTP::Request=HASH(0x192470),http://www.sn.no/,UNDEF,UNDEF,180) GET ftp://foo/ User-Agent: libwww-perl/5.808 Cookie: perl=cool ok 2 ok 3 ok 4 200 OK Date: Wed, 27 Feb 2008 19:41:50 GMT Content-Type: text/plain Client-Date: Wed, 27 Feb 2008 19:41:50 GMT Howdy ok 5 ok 6 ok All tests successful. Files=31, Tests=805, 53 wallclock secs (21.56 cusr + 2.04 csys = 23.60 CPU) Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP.html Installing /home/cpanrun/build/5.10.0/html/site/lib/lwpcook.html Installing /home/cpanrun/build/5.10.0/html/site/lib/lwptut.html Installing /home/cpanrun/build/5.10.0/html/site/lib/Bundle/LWP.html Installing /home/cpanrun/build/5.10.0/html/site/lib/File/Listing.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTML/Form.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Cookies.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Daemon.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Date.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Headers.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Message.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Negotiate.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Request.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Response.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Status.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Cookies/Microsoft.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Cookies/Netscape.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Headers/Util.html Installing /home/cpanrun/build/5.10.0/html/site/lib/HTTP/Request/Common.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/ConnCache.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/Debug.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/DebugFile.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/MediaTypes.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/MemberMixin.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/Protocol.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/RobotUA.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/Simple.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/UserAgent.html Installing /home/cpanrun/build/5.10.0/html/site/lib/LWP/Authen/Ntlm.html Installing /home/cpanrun/build/5.10.0/html/site/lib/Net/HTTP.html Installing /home/cpanrun/build/5.10.0/html/site/lib/Net/HTTP/NB.html Installing /home/cpanrun/build/5.10.0/html/site/lib/WWW/RobotRules.html Installing /home/cpanrun/build/5.10.0/html/site/lib/WWW/RobotRules/AnyDBM_File.html Installing /home/cpanrun/build/5.10.0/html/bin/lwp-download.html Installing /home/cpanrun/build/5.10.0/html/bin/lwp-mirror.html Installing /home/cpanrun/build/5.10.0/html/bin/lwp-request.html Installing /home/cpanrun/build/5.10.0/html/bin/lwp-rget.html Installing /home/cpanrun/build/5.10.0/site/lib/LWP.pm Installing /home/cpanrun/build/5.10.0/site/lib/lwptut.pod Installing /home/cpanrun/build/5.10.0/site/lib/lwpcook.pod Installing /home/cpanrun/build/5.10.0/site/lib/LWP/RobotUA.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/UserAgent.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/MemberMixin.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Debug.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/media.types Installing /home/cpanrun/build/5.10.0/site/lib/LWP/ConnCache.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/MediaTypes.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/DebugFile.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Simple.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Authen/Ntlm.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Authen/Digest.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Authen/Basic.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/ftp.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/gopher.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/cpan.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/loopback.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/nntp.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/http.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/https10.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/mailto.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/file.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/http10.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/GHTTP.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/data.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/nogo.pm Installing /home/cpanrun/build/5.10.0/site/lib/LWP/Protocol/https.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Message.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Status.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Daemon.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Cookies.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Date.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Negotiate.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Request.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Response.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Headers.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Headers/ETag.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Headers/Util.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Headers/Auth.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Request/Common.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Cookies/Netscape.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTTP/Cookies/Microsoft.pm Installing /home/cpanrun/build/5.10.0/site/lib/HTML/Form.pm Installing /home/cpanrun/build/5.10.0/site/lib/Net/HTTPS.pm Installing /home/cpanrun/build/5.10.0/site/lib/Net/HTTP.pm Installing /home/cpanrun/build/5.10.0/site/lib/Net/HTTP/NB.pm Installing /home/cpanrun/build/5.10.0/site/lib/Net/HTTP/Methods.pm Installing /home/cpanrun/build/5.10.0/site/lib/File/Listing.pm Installing /home/cpanrun/build/5.10.0/site/lib/WWW/RobotRules.pm Installing /home/cpanrun/build/5.10.0/site/lib/WWW/RobotRules/AnyDBM_File.pm Installing /home/cpanrun/build/5.10.0/site/lib/Bundle/LWP.pm Installing /home/cpanrun/build/5.10.0/site/man/man1/lwp-mirror.1 Installing /home/cpanrun/build/5.10.0/site/man/man1/lwp-download.1 Installing /home/cpanrun/build/5.10.0/site/man/man1/lwp-rget.1 Installing /home/cpanrun/build/5.10.0/site/man/man1/lwp-request.1 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::RobotUA.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::Authen::Ntlm.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::Protocol.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Request::Common.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/lwptut.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Message.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTML::Form.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Cookies::Netscape.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/Net::HTTP::NB.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Status.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Headers::Util.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Cookies::Microsoft.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::UserAgent.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::MemberMixin.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::Debug.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/Net::HTTP.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Daemon.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Cookies.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::ConnCache.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/File::Listing.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/WWW::RobotRules::AnyDBM_File.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/lwpcook.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::MediaTypes.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Date.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/WWW::RobotRules.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Request.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Negotiate.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::DebugFile.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Response.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/HTTP::Headers.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/LWP::Simple.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/Bundle::LWP.3 Installing /home/cpanrun/build/5.10.0/site/bin/lwp-mirror Installing /home/cpanrun/build/5.10.0/site/bin/lwp-download Installing /home/cpanrun/build/5.10.0/site/bin/lwp-rget Installing /home/cpanrun/build/5.10.0/site/bin/lwp-request Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod