SOURCES: pldcpan.pl - use YAML::Any instead of YAML

radek radek at pld-linux.org
Fri Jan 30 16:29:43 CET 2009


Author: radek                        Date: Fri Jan 30 15:29:43 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use YAML::Any instead of YAML

---- Files affected:
SOURCES:
   pldcpan.pl (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.57 SOURCES/pldcpan.pl:1.58
--- SOURCES/pldcpan.pl:1.57	Fri Dec 12 12:14:00 2008
+++ SOURCES/pldcpan.pl	Fri Jan 30 16:29:37 2009
@@ -67,11 +67,11 @@
 use Getopt::Long qw( GetOptions );
 use IPC::Run qw( run timeout );
 use Pod::Select qw( podselect );
+use YAML::Any qw(LoadFile);
 
 use Pod::Tree        ();
 use Archive::Any     ();
 use Template         ();
-use YAML             ();
 use Digest::MD5      ();
 use IO::String       ();
 use File::Find::Rule ();
@@ -221,7 +221,7 @@
 	return $info->{_tests}->{license}
 	  if defined $info->{_tests}->{license};
 	if (-f 'META.yml') {
-		$info->{META_yml} = YAML::LoadFile('META.yml');
+		$info->{META_yml} = LoadFile('META.yml');
 	}
 
 	_remove_core_meta_requires($info, 'requires');
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pldcpan.pl?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list