need to add loops, tests, benchmarks
my( $self, @names ) = @_ ;
+# delete all the cached stuff or just the names passed in
+
@names = keys %{$self->{tmpl_cache}} unless @names ;
+# clear out all the caches
+# TODO: reorg these into a hash per name
+
delete @{$self->{tmpl_cache}}{ @names } ;
+ delete @{$self->{compiled_cache}}{ @names } ;
+ delete @{$self->{source_cache}}{ @names } ;
+
+# also remove where we found it to force a fresh search
delete @{$self->{template_paths}}{ @names } ;