Contrary to the documentation, if a different filehandle has been select()ed, getprint output will go there, not to STDOUT.
--- libwww-perl-5.79/lib/LWP/Simple.pm.orig 2004-04-09 08:36:52.000000000 -0700 +++ libwww-perl-5.79/lib/LWP/Simple.pm 2004-05-09 15:23:40.797227200 -0700 @@ -252,9 +252,10 @@ =item getprint($url) Get and print a document identified by a URL. The document is printed -to STDOUT as data is received from the network. If the request fails, -then the status code and message are printed on STDERR. The return -value is the HTTP response code. +to the selected default filehandle for output (normally STDOUT) as +data is received from the network. If the request fails, then the +status code and message are printed on STDERR. The return value is +the HTTP response code. =item getstore($url, $file)
