| 1 | package Treemap::Simple; | ||
| 2 | |||
| 3 | use 5.006; | ||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | use Carp; | ||
| 7 | |||
| 8 | require Exporter; | ||
| 9 | |||
| 10 | our @ISA = qw( Exporter ); | ||
| 11 | our @EXPORT_OK = ( ); | ||
| 12 | our @EXPORT = qw( ); | ||
| 13 | our $VERSION = '0.01'; | ||
| 14 | |||
| 15 | |||
| 16 | # ------------------------------------------ | ||
| 17 | # Methods: | ||
| 18 | # ------------------------------------------ | ||
| 19 | |||
| 20 | |||
| 21 | # ------------------------------------------ | ||
| 22 | # new() - Create and return new Treemap object: | ||
| 23 | # ------------------------------------------ | ||
| 24 | sub new | ||
| 25 | { | ||
| 26 | my $proto = shift; | ||
| 27 | my $class = ref( $proto ) || $proto; | ||
| 28 | my $self = {}; | ||
| 29 | |||
| 30 | bless $self, $class; | ||
| 31 | return $self; | ||
| 32 | } | ||
| 33 | |||
| 34 | 1; | ||
| 35 | |||
| 36 | __END__ |