This file documents the revision history for Perl extension HTTP::Body.
+1.05 2008-12-01 17:15:00
+ - Removed useless eval + require in new().
+
1.04 2008-06-23 16:00:00
- Added tmpdir() accessor to specify an alternate directory for temp files.
(jgoulah)
use Carp qw[ ];
-our $VERSION = '1.04';
+our $VERSION = '1.05';
our $TYPES = {
'application/octet-stream' => 'HTTP::Body::OctetStream',
my $body = $TYPES->{ $type || 'application/octet-stream' };
- eval "require $body";
-
- if ($@) {
- die $@;
- }
-
my $self = {
buffer => '',
chunk_buffer => '',