in reply to Using variables in top level script inside the perl modules

Use $::version to get and set the variable. I'd personally move it into a small module.