Diff of /branches/0.71/lib/SOAP/Transport/LOOPBACK.pm [r397] .. [r398]  Maximize  Restore

  Switch to side-by-side view

--- a/branches/0.71/lib/SOAP/Transport/LOOPBACK.pm
+++ b/branches/0.71/lib/SOAP/Transport/LOOPBACK.pm
@@ -19,8 +19,8 @@
 @ISA = qw(SOAP::Client);
 
 sub new {
-    my $class = ref $_[0] || $_[0];
-    return bless {}, $class;
+    return $_[0] if ref $_[0];
+    return bless {}, $_[0];
 }
 
 sub send_receive {

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks