[svn:dbi] r14564 - dbi/trunk/lib/DBD/Gofer/Transport

[email protected] Mon, 6 Dec 2010 03:27:27 -0800 (PST)
Newsgroups perl.dbi.changes
Message-ID <[email protected]>
Author: timbo
Date: Mon Dec  6 03:27:26 2010
New Revision: 14564

Modified:
   dbi/trunk/lib/DBD/Gofer/Transport/stream.pm

Log:
when writing to stream call print as method

Modified: dbi/trunk/lib/DBD/Gofer/Transport/stream.pm
==============================================================================
--- dbi/trunk/lib/DBD/Gofer/Transport/stream.pm	(original)
+++ dbi/trunk/lib/DBD/Gofer/Transport/stream.pm	Mon Dec  6 03:27:26 2010
@@ -127,7 +127,7 @@
 
     # send frozen request
     local $\;
-    print $wfh $encoded_request # autoflush enabled
+    $wfh->print($encoded_request) # autoflush enabled
         or do {
             # XXX should make new connection and retry
             $self->_connection_kill;