Changeset 17957

Show
Ignore:
Timestamp:
08/21/08 19:34:12 (5 years ago)
Author:
tokuhirom
Message:

bug fixed. and added test.

Location:
lang/perl/Nanto/trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Nanto/trunk/lib/Nanto/Web/MobileAttribute.pm

    r17956 r17957  
    33use warnings; 
    44use HTTP::Engine::Request; 
     5use HTTP::MobileAttribute; 
    56 
    67do { 
     
    910    $meta->add_attribute( 
    1011        mobile_attribute => ( 
     12            is      => 'ro', 
     13            isa     => 'Object', 
     14            lazy    => 1, 
    1115            default => sub { 
    1216                my $req = shift; 
    13                 HTTP::MobileAttribute->new($req->headers); 
     17                HTTP::MobileAttribute->new( $req->headers ); 
    1418            }, 
    15             lazy => 1, 
    1619        ), 
    1720    );