I am writing a function that is mostly static in nature. I want to connect it to the Template Toolkit, which goes by the name of the class. Essential what he does
ClassName->function( $args.. )
but I want him to do something like
ClassName::function( $args.. )
inside
sub function {
}
What is the correct way to handle both cases?
Timmy source
share