This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
This is a function, not a method
authorFlorian Ragwitz <rafl@debian.org>
Wed, 8 Sep 2010 06:50:15 +0000 (08:50 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 8 Sep 2010 06:50:15 +0000 (08:50 +0200)
Porting/corelist.pl

index f27102e..eeef8d1 100755 (executable)
@@ -260,7 +260,7 @@ sub fetch_url {
     my $url = shift;
     eval { require LWP::Simple };
     if ( LWP::Simple->can('get') ) {
-        return LWP::Simple->get($url);
+        return LWP::Simple::get($url);
     } elsif (`which curl`) {
         return `curl -s $url`;
     } elsif (`which wget`) {