The "register_function" sub is incorrect because it is a class method.
The method should be like the following:
sub register_function {
my ($class, $name, $sub) = @_;
$Template::Alloy::SCALAR_OPS->{$name} = $sub;
}
This queue is for tickets about the Template-Alloy CPAN distribution.
The Basics
People
|
Bug Information
|