summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/perl.req2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/perl.req b/scripts/perl.req
index 4c08dcd1a..28ff7821c 100755
--- a/scripts/perl.req
+++ b/scripts/perl.req
@@ -146,7 +146,7 @@ sub process_file {
(m/^(\s*) # we hope the inclusion starts the line
(require|use)\s+(?!\{) # do not want 'do {' loops
# quotes around name are always legal
- [\'\"]?([^\;\ \'\"\t]*)[\'\"]?[\t\;\ ]
+ [\'\"]?([^\;\ \'\"\t#]*)[\'\"]?[\t\;\ ]
# the syntax for 'use' allows version requirements
\s*([.0-9]*)
/x)