File::TreeBuilderBuild simple trees of files and directories | |
Download |
File::TreeBuilder Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Luc St-Louis
- Publisher web site:
- http://search.cpan.org/~lucs/
File::TreeBuilder Tags
File::TreeBuilder Description
Build simple trees of files and directories File::TreeBuilder is a Perl module used for building small trees of files and directories by describing what is needed in a text string.SYNOPSIS use File::TreeBuilder qw(build_tree); our $contents_str = 'Bla'; build_tree($some_dir, q{ / "D2" . "F_in_D2", "contents" . "F_in_top" / "D1 with spaces" . "F_in_D1", $contents_str . "F with spaces in D1", $contents_str });That creates the following directory structure: $some_dir/ "D1 with spaces"/ F_in_D1 # Contains 'Bla'. "F with spaces in D1" # Contains 'Bla'. D2/ F_in_D2 # Contains 'contents'. F_in_top # Empty file (0 bytes). Requirements: · Perl
File::TreeBuilder Related Software