X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=lib%2FConfig%2FAny%2FYAML.pm;h=c1be23dbb054af0996ba9326fa9436332f47ebf8;hp=a12c74f4d97fbd18449cd8f9ac7a42c379263e9f;hb=f9f3d682a0332cec1207764dcada85a7ff7750f0;hpb=e7be073ac39914776ae469d6d1b51b666f6210d5 diff --git a/lib/Config/Any/YAML.pm b/lib/Config/Any/YAML.pm index a12c74f..c1be23d 100644 --- a/lib/Config/Any/YAML.pm +++ b/lib/Config/Any/YAML.pm @@ -41,8 +41,6 @@ Attempts to load C<$file> as a YAML file. =cut -our $NO_YAML_XS_WARNING; - sub load { my $class = shift; my $file = shift; @@ -52,11 +50,6 @@ sub load { return YAML::XS::LoadFile( $file ); } - Carp::carp - 'Use of YAML::Syck or YAML to parse config files is DEPRECATED. ' - . 'Please install YAML::XS for proper YAML support' - unless $NO_YAML_XS_WARNING; - eval { require YAML::Syck; YAML::Syck->VERSION( '0.70' ) }; unless ( $@ ) { open( my $fh, $file ) or die $!; @@ -84,7 +77,7 @@ Brian Cassidy Ebricas@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2011 by Brian Cassidy +Copyright 2006-2015 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.