如何在Perl中复制整个目录? [英] How can I copy an entire directory in Perl?

查看:169
本文介绍了如何在Perl中复制整个目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将整个目录复制到某个位置。

I need to copy entire directory to some location.

这是最好的方法是什么? File :: Copy 在我看到它时只能逐个文件复制。

What is the best way to do so ? File::Copy copies only file by file as I saw it.

顺便说一下,我在Windows下工作。

By the way I work under Windows.

感谢您的帮助。

推荐答案

=http://metacpan.org/pod/File::Copy::Recursive =nofollow noreferrer> File :: Copy :: Recursive 。

Maybe look into File::Copy::Recursive.

这篇关于如何在Perl中复制整个目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆