Subject: | auto_version: Why is $VERSION bound to "main" package instead of calling package. |
Getopt::Long 2.51
I wanted to use the auto_version configuration option of Getopt::Long in my application. I am unable to do this because my application refers to a package that is different from the default package "main". Could this be changed? I don't understand why auto_version doesn't refer to the $VERSION var of the calling package.
A second point that is arguable is the fact that auto_version prints the versions of Getopt::Long and Perl too. For a non-perl enduser this extra information is pure noise.