Changeset 15140 for lang/perl/Catalyst-Controller-Mobile-JP/trunk/lib/Catalyst/Controller/Mobile/JP.pm
- Timestamp:
- 07/04/08 10:01:54 (5 months ago)
- Location:
- lang/perl/Catalyst-Controller-Mobile-JP/trunk
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
lib/Catalyst/Controller/Mobile/JP.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Catalyst-Controller-Mobile-JP/trunk
-
Property
svn:ignore set
to
MANIFEST
-
Property
svn:ignore set
to
-
lang/perl/Catalyst-Controller-Mobile-JP/trunk/lib/Catalyst/Controller/Mobile/JP.pm
r14885 r15140 24 24 25 25 for my $v (ref($value) ? @$value : $value) { 26 next if Encode::is_utf8($v); 26 27 $v = $self->encoding->decode($v); 27 28 } … … 64 65 } 65 66 } 67 66 68 1; 67 69 __END__ … … 71 73 =head1 NAME 72 74 73 Catalyst::Controller::Mobile::JP - 75 Catalyst::Controller::Mobile::JP - decode/encode with Encode::JP::Mobile 74 76 75 77 =head1 SYNOPSIS 76 78 77 use Catalyst::Controller::Mobile::JP; 78 79 =head1 DESCRIPTION 80 81 Catalyst::Controller::Mobile::JP is 82 83 =head1 METHODS 84 85 =over 4 86 87 =item new 88 89 =item foo 90 91 =back 79 package MyApp; 80 use Catalyst qw/ MobileAgent /; 81 82 ... 83 84 package MyApp::Controller::Root; 85 use strict; 86 use base 'Catalyst::Controller::Mobile::JP'; 87 88 __PACKAGE__->config->{namespace} = ''; 89 90 sub foo :Local { 91 my ($self, $c) = @_; 92 93 $c->res->body( 94 $c->req->param('text') . "\x{E72A}" 95 ); 96 } 92 97 93 98 =head1 AUTHOR
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)