How can I copy an entire directory in Perl?

拜拜、爱过 提交于 2019-12-07 05:09:51

问题


I need to copy entire directory to some location.

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

By the way I work under Windows.

Thanks for help.


回答1:


Maybe look into File::Copy::Recursive.




回答2:


A quick google search for "perl copy directory file::" finds

File::Copy::Recursive

Looks what you're after.



来源:https://stackoverflow.com/questions/1865883/how-can-i-copy-an-entire-directory-in-perl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!