[Jifty-commit] r6128 - in Net-Jifty/trunk: .

Jifty commits jifty-commit at lists.jifty.org
Tue Dec 16 22:51:24 EST 2008


Author: sartak
Date: Tue Dec 16 22:51:24 2008
New Revision: 6128

Modified:
   Net-Jifty/trunk/   (props changed)
   Net-Jifty/trunk/lib/Net/Jifty.pm

Log:
 r77615 at onn:  sartak | 2008-12-16 22:51:20 -0500
 Load HTTP::Request only if necessary


Modified: Net-Jifty/trunk/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/trunk/lib/Net/Jifty.pm	(original)
+++ Net-Jifty/trunk/lib/Net/Jifty.pm	Tue Dec 16 22:51:24 2008
@@ -5,7 +5,6 @@
 our $VERSION = '0.09';
 
 use LWP::UserAgent;
-use HTTP::Request;
 use URI;
 
 use YAML;
@@ -259,6 +258,7 @@
         $res = $self->ua->$method($uri);
     }
     else {
+        require HTTP::Request;
         my $req = HTTP::Request->new(
             uc($method) => $uri,
         );


More information about the Jifty-commit mailing list