in reply to Re: getprint works but get doesn't
in thread getprint works but get doesn't

The server (rpc.bloglines.com) does not like the UserAgent value being sent by LWP::Simple when it's a trivial GET request. It sends "lwp-trivial/VERSION-NUMBER". A different value is used when you do get_old() or getstore() or getprint(): "LWP::Simple/VERSION-NUMBER". I'd call this a bug; whether it's a bug in LWP::Simple or in the server, I can't say for certain.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^3: getprint works but get doesn't
by samnodes (Initiate) on Mar 06, 2010 at 06:45 UTC
    I'm getting this problem too with This is perl, v5.10.1 built for MSWin32-x64-multi-thread (with 2 registered patches, see perl -V for more detail) Copyright 1987-2009, Larry Wall Binary build 1007 291969 provided by ActiveState http://www.ActiveState.com running on Windows 7, for url=http://www.dilbert.com/strips/comic/2010-03-04 Strange bug as surprised this is the first comment on it for some years. Naively, one would assume that getprint is just a get and then a print in some sense but clearly not.