Subject: | local_suffix file warning. |
The warning "'local_suffix' will be ignored if 'file' is given ..." is
produced when setting local_suffix, even if NOT setting file.
Attached a patch to warn if you are using local_suffix AND file.
Subject: | JFDI_local_suffix_warning.patch |
--- a/Config/JFDI.pm 2009-10-18 23:34:25.000000000 -0500
+++ b/Config/JFDI.pm 2010-01-14 09:08:16.000000000 -0600
@@ -214,7 +214,7 @@ sub BUILD {
$source{$_} = $given->{$_} if exists $given->{$_};
}
- carp "Warning, 'local_suffix' will be ignored if 'file' is given, use 'path' instead" if exists $source{local_suffix};
+ carp "Warning, 'local_suffix' will be ignored if 'file' is given, use 'path' instead" if exists $source{local_suffix} && exists $source{file};
$source{local_suffix} = $given->{config_local_suffix} if $given->{config_local_suffix};