diff options
Diffstat (limited to 'perl.prov')
-rwxr-xr-x | perl.prov | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -146,10 +146,11 @@ sub process_file { #ExtUtils/Install.pm:$VERSION = substr q$Revision$, 10; #CGI/Apache.pm:$VERSION = (qw$Revision$)[1]; #DynaLoader.pm:$VERSION = $VERSION = "1.03"; # avoid typo warning + #$Locale::Maketext::Simple::VERSION = '0.21'; if ( ($package) && - (m/^(.*;)?\s*((my|our)\s+)?\$VERSION\s*=\s+/) + (m/^(.*;)?\s*((my|our)\s+)?\$(${package}::)?VERSION\s*=\s+/) ) { # first see if the version string contains the string |