Hi,
I use Acrhlinux arm on my Raspebrry Pi, and installed perl-libwww via pacman yesterday. I wrote a small perl script to get a webpage's content:
$this->bbcode_second_pass_code('', '#!/usr/bin/env perl
use 5.010;
use warnings;
use strict;
use LWP::Simple qw($ua get);
my $uri = "http://www.flvcd.com/";
my $result = get($uri);
say "$result";')
It will print the webpage's content (raw html) and works great on my Fedora and ArchLinux x86-64 computer. However, it fails to work on my Raspberry pi, printing nothing on terminal and telling me $result is undef.
Then I remove the perl-libwww package by pacman, and use cpanm to install LWP::Simple. This time, to my surprise, my script works on my Raspberry pi! So, did I do something wrong? Or is this a bug of perl-libwww in our repo? Thanks.