{ "version": "5.34.3.1", "description": "A programming language suitable for writing simple scripts as well as complex applications.", "homepage": "https://strawberryperl.com", "license": "GPL-1.0-or-later|Artistic-1.0-Perl", "architecture": { "64bit": { "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/sp5.34.3.1/strawberry-perl-5.34.3.1-64bit-portable.zip", "hash": "94d312ed536bb5bec8d4d8a069c19cf5f275364b94bb4dd93da1c1aa5ef7652a" } }, "post_install": [ "# enable standard idiomatic access to user's home directory", "## remove HomeDir section from portable.perl (disables Portable.pm override of File::HomeDir)", "## NOTE: conversion to byte[] avoids adding an extra trailing newline to the output file", "[System.IO.File]::WriteAllBytes(\"$dir\\portable.perl\", ([byte[]][char[]]((Get-Content -Raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\")))" ], "env_add_path": [ "perl\\site\\bin", "perl\\bin" ], "checkver": { "url": "https://strawberryperl.com/releases.json", "regex": "releases/download/(?.+)/strawberry-perl-([\\d.]+)-64bit-portable\\.zip" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/$matchTag/strawberry-perl-$version-64bit-portable.zip", "hash": { "url": "https://strawberryperl.com/releases.json", "jsonpath": "$..[0].edition.portable.sha256" } } } } }