]> git.pld-linux.org Git - packages/pldcpan.git/commitdiff
- use YAML::Any instead of YAML
authorradek <radek@pld-linux.org>
Fri, 30 Jan 2009 15:29:37 +0000 (15:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pldcpan.pl -> 1.58

pldcpan.pl

index 119e31a0b130833b2d40471e1381c6777213ceda..5e30d7b61dba177115aded9d4b9b06b55d017ef3 100644 (file)
@@ -67,11 +67,11 @@ use Cwd qw( getcwd );
 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 @@ sub load_META_yml {
        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');
This page took 0.058462 seconds and 4 git commands to generate.