Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I'm using LWP::Simple to try and retrieve my bloglines unread count.
#!/usr/bin/perl use warnings; use strict; use LWP::Simple; my $url = "http://rpc.bloglines.com/update?user=my\@address.com&ver=1" +; getprint($url); my $unread_count = get($url); print "\nUnread string: $unread_count\n" if defined $unread_count;
It outputs
G:\incoming\home\perl>perl unreadtracker.pl |-1|| G:\incoming\home\perl>
so getprint seems to be working while get does not. It's Activestate 5.8.8 build 816 on XP with libwww-perl 5.805. Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getprint works but get doesn't
by Jobby (Monk) on Apr 07, 2006 at 21:01 UTC | |
by japhy (Canon) on Apr 07, 2006 at 21:20 UTC | |
by samnodes (Initiate) on Mar 06, 2010 at 06:45 UTC | |
by japhy (Canon) on Apr 07, 2006 at 21:15 UTC |