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