Table 12-2. UNIX command in Modules | Module | Usage | Comment | | Cwd | $dir = cwd; | current working directory | | File::Copy | copy "oldfile", "newfile"; | | | | move "oldfile", "newfile"; | this works between file systems as well | | File::Basename | basename "/a/b/c/file.pl"; | file.pl | | | dirname "/a/b/c/file.pl"; | /a/b/c | | File::Path | mkpath("a/b/c") | | | | rmtree("/") | | | File::Find | | | | File::Find::Rule | | |
If you are interested in on-site trainings by the author, please
contact me directly.
|