Jump to content

Rosetta Code/Count examples: Difference between revisions

m
m (→‎{{header|Raku}}: New URL for relocated site)
m (→‎{{header|Perl}}: update URL)
Line 1,833:
 
=={{header|Perl}}==
{{libheader|HTTP:Tiny}}
<syntaxhighlight lang="perl">use HTTP::Tiny;
 
my $site = "http://rosettacode.org";
my $list_url = "/mww/api.php?action=query&list=categorymembers&cmtitle=Category:Programming_Tasks&cmlimit=500&format=xml";
 
my $response = HTTP::Tiny->new->get("$site$list_url");
Line 1,848 ⟶ 1,847:
 
{{libheader|Mojolicious}}
<syntaxhighlight lang="perl">use v5.10Mojo::UserAgent;
use Mojo::UserAgent;
 
my $site = "http://rosettacode.org";
2,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.