Rosetta Code/Find unimplemented tasks: Difference between revisions
Content deleted Content added
SqrtNegInf (talk | contribs) →{{header|Perl}}: rehabilitated task |
|||
Line 1,424:
=={{header|Perl}}==
<lang perl>use LWP::UserAgent;
$ua->agent('');
my $fmt = 'http://www.rosettacode.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:%s&cmlimit=500&format=json';▼
sub get { $ua->request( HTTP::Request->new( GET => shift))->content }
sub
▲ {join '', map {sprintf '%%%02x', ord} split //, shift}
my $fmt = 'http://www.rosettacode.org/mw/api.php?' .
▲
▲ {my $category = urlencode shift;
my @tasks;
my $json = get
$json =~ /"
$json = get
}
}
my
$language{$_} or print "$_\n" foreach tasks('Programming_Tasks'), tasks('Draft_Programming_Tasks');</lang>
'''See also:''' [[User:ImplSearchBot/Code]]
|