Files
perl-xml-simple/check-version.sh
2026-05-23 10:30:27 +03:00

10 lines
207 B
Bash

#!/bin/bash
# Github repository
MODULE="XML::Simple"
# Get version using the MetaCPAN Rest API
VERSION=$(curl -s -L https://fastapi.metacpan.org/download_url/"$MODULE" | jq -r '.version')
echo "$VERSION"