[Catalyst-commits] r13934 -
Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Wed Jan 26 17:19:19 GMT 2011
Author: t0m
Date: 2011-01-26 17:19:19 +0000 (Wed, 26 Jan 2011)
New Revision: 13934
Modified:
Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
Log:
Trim trailing space
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2011-01-26 10:41:58 UTC (rev 13933)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2011-01-26 17:19:19 UTC (rev 13934)
@@ -23,12 +23,12 @@
or Carp::croak( qq/Unknown encoding '$wanted'/ );
}
- $encoding = ref $c
+ $encoding = ref $c
? $c->{encoding} = $encoding
: $c->_encoding($encoding);
} else {
- $encoding = ref $c && exists $c->{encoding}
- ? $c->{encoding}
+ $encoding = ref $c && exists $c->{encoding}
+ ? $c->{encoding}
: $c->_encoding;
}
@@ -45,7 +45,7 @@
my $enc = $c->encoding;
- return $c->next::method(@_)
+ return $c->next::method(@_)
unless $enc;
my ($ct, $ct_enc) = $c->response->content_type;
More information about the Catalyst-commits
mailing list