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;

Reply via email to