Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scripts
mahara-scripts
Commits
f70c7299
Commit
f70c7299
authored
Sep 17, 2013
by
Son Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the warning of use of qw()
Perl version > 5.13.5 requires the explicit syntax
parent
f936d3f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mahara-langpacks/langpacks.pl
mahara-langpacks/langpacks.pl
+1
-1
No files found.
mahara-langpacks/langpacks.pl
View file @
f70c7299
...
@@ -20,7 +20,7 @@ use FindBin;
...
@@ -20,7 +20,7 @@ use FindBin;
use
File::
Path
qw(mkpath rmtree)
;
use
File::
Path
qw(mkpath rmtree)
;
use
LWP::
UserAgent
;
use
LWP::
UserAgent
;
foreach
my
$c
qw(DATA DOCROOT SCRIPTS)
{
foreach
my
$c
(
qw(DATA DOCROOT SCRIPTS)
)
{
exists
$ENV
{
$c
}
or
die
("
\$
ENV{
$c
} undefined
");
exists
$ENV
{
$c
}
or
die
("
\$
ENV{
$c
} undefined
");
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment