| CPAN Ratings Reviews by A. Sinan Unur | |
| Home | Search | About | Bitcard Account | Login |
Based on preliminary testing under light load. Much simpler than the Amazon supplied REST library or Net::Amazon::S3.
I haven't thought about all the implications of this, but I think the interface may be improved slightly by modifying the putobject method or maybe adding a putfile method. So, instead of:
$bucket->putobject( $obj_key, $obj_data, { 'Content-Type' => $mime_type } )
I would suggest:
$bucket->putobject( $obj_key => {
data => ' ... ',
'Content-Type' => $mime_type,
});
and
$bucket->putobject( $obj_key => {
file => '/path/to/file',
'Content-Type' => $mime_type,
});
Hope that makes sense.
Thank you for your work. Sincerely appreciated.
Sinan
A. Sinan Unur - 2007-02-28T21:17:07
use strict;
use warnings;
use Sort::Radix;
my @array = qw(flow loop pool Wolf root sort tour);
radix_sort(\@array);
print "@array\n";
from search.cpan.org/~ewijaya/Sort-Radix-0... yields:
C:\Temp> t
Undefined subroutine &Sort::Radix::radix_sort called at C:\Temp\t.pl line 7.
This seems to be because the sub radix_sort is placed _after_ the __END__ marker in the module file.
Fixing that yields:
C:\Temp> t
Argument "flow" isn't numeric in subtraction (-) at Sort/Radix.pm line 44.
Wolf flow loop pool root sort tour
A. Sinan Unur - 2005-01-21T05:53:16
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|