Changes for version 4.130500 - 2013-02-18
- Trial version, fifth trial in 4.x series prior to first official release; we're being very careful.
- This release features mainly performance optimizations, and many windows-specific bug-fixes for those new optimizations which were caught during thorough testing.
- This new version features a "max_depth" option for list_dir, which works the same as the -max_depth flag for GNU find.
- the max_dives() method has been renamed to abort_depth(), with back-compat fully preserved; this is to avoid confusion with the new max_depth option for list_dir()
- Documentation updated to show examples of the new feature.
- For operating systems that support it, list_dir() now keeps track of the filesystem inodes it sees while walking directories to detect and avoid filesystem loops. Sadly, Windows does not support the native stat/lstat calls in Perl, and therefore this is feature is silently disabled on any platform where it is detected that the stat/lstat calls don't work.
- New example script added to examples/ directory and to the Cookbook.
- Main perldoc manpage for File::Util updated
Documentation
File::Util in Action
File::Util Reference
File::Util Examples
Modules
Easy, versatile, portable file handling
Global symbols and constants used in most File::Util classes
Base exception class for File::Util
Diagnostic (verbose) error messages
Standard (non-verbose) error messages
Legacy call interface to File::Util
Modern call interface to File::Util
a call logging proxy class for File::Util
Examples
- examples/batch_file_rename.pl
- examples/batch_search_and_replace.pl
- examples/get_an_open_file_handle.pl
- examples/increment_a_counter_file.pl
- examples/list_the_contents_of_a_directory.pl
- examples/list_the_contents_of_a_directory_recursively.pl
- examples/load_a_file_into_a_variable.pl
- examples/make_a_new_directory.pl
- examples/pretty_print_a_directory.pl
- examples/pretty_print_a_directory_using_as_tree.pl
- examples/pretty_print_a_directory_using_callbacks_fancy.pl
- examples/pretty_print_a_directory_using_callbacks_simple.pl
- examples/recursively_remove_a_directory_and_its_contents.pl
- examples/retry_open_handle.pl
- examples/wrap_the_lines_in_a_file.pl
- examples/write_or_append_to_a_file.pl