Creates an input object with methods suitable for use with a Treemap object.
#!/usr/bin/perl -w use Treemap::Input::Dir; my $dir = Treemap::Input::Dir->new(); $dir->load( "/some/dir" );
This class reads in a directory tree, and makes the data available for use to a Treemap object. Colour is based the the mtime of the files. Rectangle areas are based on the size of the directory contents / files.
Instantiate a new object
Load the directory tree from the specified path.
Simon Ditner <email@example.com>, and Eric Maki <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.