Alien-pkgconf

 view release on metacpan or  search on metacpan

script/stage.pl  view on Meta::CPAN


      if(-l $from)
      {
        my $target = readlink $from;
        symlink $target, $to;
      }
      else
      {
        cp($from, $to) || die "Copy $from => $to failed $!";
        # Perl 5.8 and 5.10 cp doesn't preserve perms apparently
        eval { chmod 0755, $to } if -x $from && $] < 5.012;
      }
    }
  }
  closedir $dh;
}



( run in 0.274 second using v1.01-cache-2.11-cpan-496ff517765 )