# override the default built-in interpolate subroutine
my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; }
# override the default built-in interpolate subroutine
my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; }
- # Content_type
- $content_type=&$interpolate($content_type);
- $header = {-type=>$content_type};
-
# Head
my $head = (&$template($currentdir,'head',$flavour));
# Head
my $head = (&$template($currentdir,'head',$flavour));