Changeset 25122
- Timestamp:
- 11/27/08 17:18:34 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/branches/shika/lib/HTTP/Engine/Request/Upload.pm
r17154 r25122 1 1 package HTTP::Engine::Request::Upload; 2 3 use Moose; 4 2 use Shika; 5 3 use File::Copy (); 6 4 use IO::File (); 7 5 use File::Spec::Unix; 8 6 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');7 has filename => (); 8 has headers => (); 9 has size => (); 10 has tempname => (); 11 has type => (); 14 12 has basename => ( 15 is => 'rw',16 13 lazy => 1, 17 14 default => sub { … … 26 23 27 24 has fh => ( 28 is => 'rw',29 required => 1,30 25 lazy => 1, 31 26 default => sub { … … 40 35 }, 41 36 ); 42 43 no Moose;44 37 45 38 sub copy_to { … … 69 62 $content; 70 63 } 71 72 __PACKAGE__->meta->make_immutable;73 64 74 65 1;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)