r27655 - in /branches/upstream/libhttp-body-perl/current: Changes META.yml lib/HTTP/Body.pm

bricas-guest at users.alioth.debian.org bricas-guest at users.alioth.debian.org
Tue Dec 2 15:41:11 UTC 2008


Author: bricas-guest
Date: Tue Dec  2 15:41:02 2008
New Revision: 27655

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27655
Log:
[svn-upgrade] Integrating new upstream version, libhttp-body-perl (1.05)

Modified:
    branches/upstream/libhttp-body-perl/current/Changes
    branches/upstream/libhttp-body-perl/current/META.yml
    branches/upstream/libhttp-body-perl/current/lib/HTTP/Body.pm

Modified: branches/upstream/libhttp-body-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-body-perl/current/Changes?rev=27655&op=diff
==============================================================================
--- branches/upstream/libhttp-body-perl/current/Changes (original)
+++ branches/upstream/libhttp-body-perl/current/Changes Tue Dec  2 15:41:02 2008
@@ -1,4 +1,7 @@
 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.

Modified: branches/upstream/libhttp-body-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-body-perl/current/META.yml?rev=27655&op=diff
==============================================================================
--- branches/upstream/libhttp-body-perl/current/META.yml (original)
+++ branches/upstream/libhttp-body-perl/current/META.yml Tue Dec  2 15:41:02 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         HTTP-Body
-version:      1.04
+version:      1.05
 version_from: lib/HTTP/Body.pm
 installdirs:  site
 requires:

Modified: branches/upstream/libhttp-body-perl/current/lib/HTTP/Body.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-body-perl/current/lib/HTTP/Body.pm?rev=27655&op=diff
==============================================================================
--- branches/upstream/libhttp-body-perl/current/lib/HTTP/Body.pm (original)
+++ branches/upstream/libhttp-body-perl/current/lib/HTTP/Body.pm Tue Dec  2 15:41:02 2008
@@ -4,7 +4,7 @@
 
 use Carp       qw[ ];
 
-our $VERSION = '1.04';
+our $VERSION = '1.05';
 
 our $TYPES = {
     'application/octet-stream'          => 'HTTP::Body::OctetStream',
@@ -96,12 +96,6 @@
     }
 
     my $body = $TYPES->{ $type || 'application/octet-stream' };
-
-    eval "require $body";
-
-    if ($@) {
-        die $@;
-    }
 
     my $self = {
         buffer         => '',




More information about the Pkg-perl-cvs-commits mailing list