I want to clarify what "distribution name" and "distribution version" are.
Let's say you have the following Perl6 distribution:
Changes
LICENSE
META6.json
README.md
lib/Your/Some-Module.pm6
❯ hostname | |
MBP2013 | |
❯ perl -MLWP::Simple=getprint -MHTTP::Daemon -le 'my $url = HTTP::Daemon->new->url; print $url; getprint($url)' | |
http://mbp2013:60129/ | |
500 Can't connect to mbp2013:60129 (nodename nor servname provided, or not known) <URL:http://mbp2013:60129/> |
❯ for ubuntu_version in 14.04 16.04; do for perl_version in 5.8 5.10 5.12 5.14 5.16 5.18 5.20 5.22 5.24 5.26 5.28 5.30; do printf "ubuntu_version %s, perl_version %4s, http_status %d\n" $ubuntu_version $perl_version $(curl -X HEAD -w '%{http_code}\n' -s https://storage.googleapis.com/travis-ci-language-archives/perl/binaries/ubuntu/$ubuntu_version/x86_64/perl-$perl_version.tar.bz2); done; done | |
ubuntu_version 14.04, perl_version 5.8, http_status 200 | |
ubuntu_version 14.04, perl_version 5.10, http_status 200 | |
ubuntu_version 14.04, perl_version 5.12, http_status 200 | |
ubuntu_version 14.04, perl_version 5.14, http_status 200 | |
ubuntu_version 14.04, perl_version 5.16, http_status 200 | |
ubuntu_version 14.04, perl_version 5.18, http_status 200 | |
ubuntu_version 14.04, perl_version 5.20, http_status 200 | |
ubuntu_version 14.04, perl_version 5.22, http_status 200 | |
ubuntu_version 14.04, perl_version 5.24, http_status 200 |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" | |
"syscall" |
package main | |
import ( | |
"context" | |
"net" | |
"net/textproto" | |
"time" | |
) | |
// Client is |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
sub comment_for { | |
my $line = shift; | |
if ($line =~ /^ (type|func|var) \s+ (\(.*?\))? \s* ([A-Z]\w+) /x) { | |
my ($kind, $is_method, $name) = ($1, $2, $3); | |
if ($is_method && grep { $name ne $_ } qw(String Error)) { | |
# skip |
package main | |
import ( | |
"context" | |
"fmt" | |
"time" | |
) | |
type event string | |
type message string |
I want to clarify what "distribution name" and "distribution version" are.
Let's say you have the following Perl6 distribution:
Changes
LICENSE
META6.json
README.md
lib/Your/Some-Module.pm6
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: test4-app | |
name: test4-app | |
namespace: default | |
spec: | |
replicas: 2 | |
revisionHistoryLimit: 5 |
❯ latest-perl-build.sh | |
++ plenv root | |
+ ROOT=/Users/skaji/env/plenv | |
++ plenv versions --bare | |
++ perl -le 'chomp(@a = sort grep { /^5\.\d{2}\.\d+$/ } <>); print $a[-1]' | |
+ LATEST=5.28.2 | |
+ [[ -z 5.28.2 ]] | |
+ plenv global 5.28.2 | |
+ plenv reset - | |
cannot remove directory for 5.28.2/lib/perl5/site_perl/5.28.2/darwin-2level: No such file or directory at /Users/skaji/env/plenv/plugins/plenv-reset/bin/plenv-reset line 45. |