Changeset 25122

Show
Ignore:
Timestamp:
11/27/08 17:18:34 (4 years ago)
Author:
tokuhirom
Message:

use Shika

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTTP-Engine/branches/shika/lib/HTTP/Engine/Request/Upload.pm

    r17154 r25122  
    11package HTTP::Engine::Request::Upload; 
    2  
    3 use Moose; 
    4  
     2use Shika; 
    53use File::Copy (); 
    64use IO::File   (); 
    75use File::Spec::Unix; 
    86 
    9 has filename => ( is => 'rw' ); 
    10 has headers  => ( is => 'rw' ); 
    11 has size     => ( is => 'rw' ); 
    12 has tempname => ( is => 'rw' ); 
    13 has type     => ( is => 'rw' ); 
     7has filename => (); 
     8has headers  => (); 
     9has size     => (); 
     10has tempname => (); 
     11has type     => (); 
    1412has basename => ( 
    15     is      => 'rw', 
    1613    lazy    => 1, 
    1714    default => sub { 
     
    2623 
    2724has fh => ( 
    28     is       => 'rw', 
    29     required => 1, 
    3025    lazy     => 1, 
    3126    default  => sub { 
     
    4035    }, 
    4136); 
    42  
    43 no Moose; 
    4437 
    4538sub copy_to { 
     
    6962    $content; 
    7063} 
    71  
    72 __PACKAGE__->meta->make_immutable; 
    7364 
    74651;