add manifest/meta
fixes for content type.
Revision history for Perl extension Catalyst::View::TT.
+0.09 Wed Mar 29 13:47:00 2005
+ - Don't override user-set charset/content-type
+ - Cleaned up the content-type we set.
0.08 Wed Mar 29 12:22:00 2005
- changed order of stash so stash can override c/base/name
- fixed some typos
--- /dev/null
+Catalyst-View-TT-0.08.tar.gz
+Changes
+lib/Catalyst/Helper/View/TT.pm
+lib/Catalyst/View/TT.pm
+Makefile.PL
+MANIFEST This list of files
+META.yml
+README
+test.pl
--- /dev/null
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
+name: Catalyst-View-TT
+version: 0.08
+version_from: lib/Catalyst/View/TT.pm
+installdirs: site
+requires:
+ Catalyst: 4.00
+ Template: 0
+ Template::Timer: 0
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.17
sub process {
my ( $self, $c ) = @_;
- $c->res->headers->content_type('text/html;charset=utf8');
+ $c->res->headers->content_type('text/html; charset=utf-8')
+ unless $c->res->headers->content_type();
my $output;
my $name = $c->stash->{template} || $c->req->match;
unless ($name) {