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.
Comment on
Re: Using variables in top level script inside the perl modules
Download
Code
In Section
Seekers of Perl Wisdom