aboutsummaryrefslogtreecommitdiffstats
path: root/perl.req
diff options
context:
space:
mode:
Diffstat (limited to 'perl.req')
-rwxr-xr-xperl.req2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.req b/perl.req
index 1b44ae1..fcba2fc 100755
--- a/perl.req
+++ b/perl.req
@@ -136,7 +136,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)