projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed warnings in tests
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Request
/
Upload.pm
diff --git
a/lib/Catalyst/Request/Upload.pm
b/lib/Catalyst/Request/Upload.pm
index
867c098
..
5df78ee
100644
(file)
--- a/
lib/Catalyst/Request/Upload.pm
+++ b/
lib/Catalyst/Request/Upload.pm
@@
-44,8
+44,8
@@
Copies tempname using C<File::Copy>. Returns true for success, false otherwise.
=cut
sub copy_to {
- my ( $self, $target, $buffer ) = @_;
- return File::Copy::copy( $self->tempname, $target, $buffer );
+ my $self = shift;
+ return File::Copy::copy( $self->tempname, @_ );
}
=item $upload->fh