in reply to Indirect variable expansion
Let the shell do the interpolation for you:
$ export module='JSON::PP'; perl -M$module -e "print \$$module::VERSIO +N . qq/\n/" 4.06 [download]
🦛