{ "name": "perl", "version": "5.42.3", "summary": "Perl 5 interpreter with its core modules", "category": "language", "license": "GPL-1.0-or-later OR Artistic-1.0-Perl", "homepage": "https://www.perl.org/", "source": { "url": "https://www.cpan.org/src/5.0/perl-5.42.3.tar.xz", "sha256": "c9387e1473a1866935cb047ece7c2e0a80767a3acdecb79d4a375f8a95970ddc" }, "watch": {"kind": "index", "url": "https://www.cpan.org/src/5.0/", "regex": "perl-(5\\.[0-9]*[02468]\\.[0-9]+)\\.tar\\.xz", "pin": "5.42", "checksum": "{source}.sha256.txt"}, "deps": [ "libxcrypt" ], "env_packages": [], "static": false, "nss": true, "check": "bin/perl -e 'printf \"perl %vd\\n\", $^V' | first && bin/perl -v | has 'v5.42.3' && bin/perl -MList::Util=sum -MDigest::SHA=sha256_hex -MPOSIX=floor -e 'printf \"%d %s %d\\n\", sum(1..100), substr(sha256_hex(\"bvs\"), 0, 8), floor(7.9)' | has -x \"5050 $(printf bvs | sha256sum | cut -c1-8) 7\" && bin/perl -MIO::Compress::Gzip=gzip -MIO::Uncompress::Gunzip=gunzip -e 'my $s = \"bvs\" x 1000; gzip(\\$s => \\my $z) or die; gunzip(\\$z => \\my $b) or die; print length($b), \"\\n\"' | has -x 3000" }