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/metacpan_url.pl
use strict;
use warnings;
use MetaCPAN::Client;

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

my $auth = $mcpan->author('HAARG');
my $mod  = $mcpan->module('Moo');
my $file = $mcpan->file('HAARG/Moo-2.003001/lib/Moo.pm');
my $dist = $mcpan->distribution('Moo');
my $rel  = $mcpan->release({
    all => [
        { distribution => 'Moo' },
        { version => '2.002005' },
    ]
});

printf "AUTHOR       : %s\n", $auth->metacpan_url;
printf "RELEASE      : %s\n", $rel->next->metacpan_url;
printf "MODULE       : %s\n", $mod->metacpan_url;
printf "FILE         : %s\n", $file->metacpan_url;
printf "DISTRIBUTION : %s\n", $dist->metacpan_url;

1;

Hry