Revision e8e23027
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Template/Plugin/T8.pm | ||
---|---|---|
my $cached_instance;
|
||
|
||
sub new {
|
||
my ($class) = @_;
|
||
my $class = shift;
|
||
|
||
return $cached_instance ||= $class->SUPER::new(@_);
|
||
}
|
Auch abrufbar als: Unified diff
Always test your code, Moritz...