Changeset 8664 for lang/perl/HTTP-MobileAttribute/trunk/lib/HTTP/MobileAttribute/Plugin/Default/EZweb.pm
- Timestamp:
- 04/02/08 19:10:04 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-MobileAttribute/trunk/lib/HTTP/MobileAttribute/Plugin/Default/EZweb.pm
r8662 r8664 13 13 # FIXME: ここなんとかして。どうにかして。なんか anonymous function だと Attribute がうまくあたらないからとりあえずこれで。 14 14 for my $method (qw(name version model device_id server xhtml_compliant comment)) { 15 eval qq! sub $method :MobileMethod(" $method,EZweb") { shift->{$method} }; !; ## no critic.15 eval qq! sub $method :MobileMethod("EZweb") { shift->{$method} }; !; ## no critic. 16 16 die $@ if $@; 17 17 } 18 18 19 sub is_tuka : MobileMethod(' is_tuka,EZweb') {19 sub is_tuka : MobileMethod('EZweb') { 20 20 my $self = shift; 21 21 my $tuka = substr( $self->device_id, 2, 1 ); … … 29 29 } 30 30 31 sub is_win : MobileMethod(' is_win,EZweb') {31 sub is_win : MobileMethod('EZweb') { 32 32 my $self = shift; 33 33 my $win = substr( $self->device_id, 2, 1 );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)