package Tagtools;
+use warnings;
use Lingua::EN::Inflect::Number qw(to_PL);
use URI::Escape;
use HTML::TagCloud;
};
*{$whence."::_calendar"} = sub {
my $arg = shift;
+ require Time::Piece;
my ($y, $m) = split /-/, ($arg || Time::Piece->new->ymd);
my @m = Calendar::Simple::calendar($m, $y);
my @month;
# At this point, the $via_table should now be able to be named as...
my $tag_class = $class_for->($tag_table_name);
- my $via_table = $tag_table_name."ging";
my $via = $tag_class."ging";
# Set up the class
@{$via."::ISA"} = @{$tag_class."::ISA"};
+ $via->table($via_table);
$via->columns(TEMP => qw/count/);
$via->columns(Essential => "id", $tag_table_name, $target_table);
# Set up the auxilliary methods