![]() Also of interest is its âSee Alsoâ section, which contains links to other implementations, and a comparison of them. Path-Iterator-Rule provides an object oriented and iterative file finder, and there's also Path-Class-Rule and IO-All-Rule. Some better alternatives are:įile-Find-Object - an object-oriented replacement for File::Find that: 1) can be instantiated 2) has an iterative interface 3) can be interrupted in the middle and 4) can return result objects instead of path names.įile-Next - an alternative with an iterative interface, but incapable of being instantiated.įile-Find-Rule, which is still based on File::Find, and File-Find-Object-Rule provide a more convenient and succinct interface for finding what you want. The built-in module for traversing a directory tree in Perl is File::Find, but it has some severe limitations in interface and use. IO-All - a no longer recommended all-in-one IO package with a lot of syntactic sugar, but quite a few quirks and bugs.File::Copy - a core module to copy files.File::Path - a core module to create or remove directory trees (portably).String-ShellQuote - quote strings for passing through the shell.Because Perl was designed as a glue language, its easy to use it to call. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |