aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.prov b/perl.prov
index 18739c4..8f5d53b 100755
--- a/perl.prov
+++ b/perl.prov
@@ -149,7 +149,7 @@ sub process_file {
if (
($package) &&
- (m/^\s*\$VERSION\s*=\s+/)
+ (m/^(.*;)?\s*((my|our)\s+)?\$VERSION\s*=\s+/)
) {
# first see if the version string contains the string