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.
Treemap::Input, Treemap
Simon Ditner <simon@uc.org>, and Eric Maki <eric@uc.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install Treemap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treemap
CPAN shell
perl -MCPAN -e shell install Treemap
For more information on module installation, please visit the detailed CPAN module installation guide.