From: Brian Cassidy Date: Tue, 21 Jul 2009 12:38:27 +0000 (+0000) Subject: minor tidy to deprecation warning X-Git-Tag: v0.18~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10a054f4bf2592b7c2312bda2ba563aac8ddc7ae;p=p5sagit%2FConfig-Any.git minor tidy to deprecation warning --- diff --git a/lib/Config/Any/YAML.pm b/lib/Config/Any/YAML.pm index 9eaa5f7..dd369fd 100644 --- a/lib/Config/Any/YAML.pm +++ b/lib/Config/Any/YAML.pm @@ -51,8 +51,8 @@ sub load { } Carp::carp -"Using YAML::Syck or YAML to parse configs is DEPRECATED. Please install ". -"YAML::XS for proper YAML support"; + 'Use of YAML::Syck or YAML to parse config files is DEPRECATED. ' + . 'Please install YAML::XS for proper YAML support'; eval { require YAML::Syck; YAML::Syck->VERSION( '0.70' ) }; unless ( $@ ) {