svn commit: [2301] trunk/lib/Act/Config.pm: fix "Use of qw(...) as parentheses is deprecated" warning

maddingue at free.fr maddingue at free.fr
Sun Jun 2 06:39:01 CEST 2013


Revision: 2301
Author:   maddingue
Date:     2013-06-02 06:39:01 +0200 (Sun, 02 Jun 2013)
Log Message:
-----------
fix "Use of qw(...) as parentheses is deprecated" warning

Modified Paths:
--------------
    trunk/lib/Act/Config.pm

Modified: trunk/lib/Act/Config.pm
===================================================================
--- trunk/lib/Act/Config.pm	2013-06-02 04:18:46 UTC (rev 2300)
+++ trunk/lib/Act/Config.pm	2013-06-02 04:39:01 UTC (rev 2301)
@@ -398,7 +398,7 @@
 sub _load_config
 {
     my ($cfg, $dir) = @_;
-    for my $file qw(act local) {
+    for my $file (qw< act local >) {
         my $path = catfile($dir, 'conf', "$file.ini");
         if (-e $path) {
             open my $fh, '<:encoding(UTF-8)', $path



More information about the Act-cvs mailing list