操作文件和目录
本章介绍在Perl中如何执行文件和目录相关的操作,包括:
- 通配文件(已经在上一章节介绍过)
- 文件属性测试
- 文件和目录的创建、删除
- 文件和目录的复制、移动、重命名
- 修改文件属性(权限、所有者和所属组、atime/mtime/ctime等)
- 搜索文件
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
本章介绍在Perl中如何执行文件和目录相关的操作,包括: