且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Perl从所有文件夹中删除特定文件?

更新时间:2023-09-26 09:22:46

_ eqtask。*;
unlink
_ eq "task.*"; unlink


_;
}
_; }


使用我的解决方案来解决你的问题如何使用Perl从目录struture中删除子目录? [ ^ ]作为起点(未经测试 EDIT:测试和修复错误):

Use my solution to your question How do I remove the subdirectories from the directory struture using Perl?[^] as starting point (untested tested and fixed errors):
sub DelTaskFiles{
    my (