RosettaCodeData/Task/HTTP/Perl/http-1.pl

6 lines
161 B
Perl
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
use strict; use warnings;
require 5.014; # check HTTP::Tiny part of core
use HTTP::Tiny;
print( HTTP::Tiny->new()->get( 'http://rosettacode.org')->{content} );