Class::TreeBuild and print hierarchical information such as directory trees and C++ classes. | |
Download |
Class::Tree Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Ron Savage
- Publisher web site:
- http://search.cpan.org/~rsavage/
Class::Tree Tags
Class::Tree Description
Build and print hierarchical information such as directory trees and C++ classes. Class::Tree is a Perl module to build and print hierarchical information such as directory trees and C++ classes.SYNOPSIS use Class::Tree; # Or ... # use Class::Tree qw($root); # 1. A directory tree. my($dir1) = 'someDir/someSubdir'; my($tree1) = new Class::Tree; $tree1 -> buildDirTree($dir1, ); $tree1 -> writeTree(); # 2. A C++ class tree. use Cwd; my($currentDir) = cwd(); my($dir2) = 'someDir/someSubdir'; # Contains *.h. See t/family.h. my($origin) = 'Root'; my($tree2) = new Class::Tree; $tree2 -> buildClassTree($dir2, $origin, $currentDir); print "Class tree ---------- "; $tree2 -> writeTree(); print " "; print "Class list ---------- "; $tree2 -> writeClassList(); Requirements: · Perl
Class::Tree Related Software