Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/usr/share/doc/perl-MetaCPAN-Client/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/doc/perl-MetaCPAN-Client/examples/totals.pl
use strict;
use warnings;
use Data::Printer;
use MetaCPAN::Client;

my $mcpan = MetaCPAN::Client->new;

my $all_authors  = $mcpan->all('authors');
my $all_dists    = $mcpan->all('distributions');
my $all_modules  = $mcpan->all('modules');
my $all_releases = $mcpan->all('releases');

print "totals:\n";
printf "authors       : %d\n", $all_authors->total;
printf "distributions : %d\n", $all_dists->total;
printf "modules       : %d\n", $all_modules->total;
printf "releases      : %d\n", $all_releases->total;

Hry