Release 0.11005
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator.pm
index d377462..0b9946e 100644 (file)
@@ -22,9 +22,9 @@ use strict;
 use vars qw( $VERSION $DEFAULT_SUB $DEBUG $ERROR );
 use base 'Class::Base';
 
-require 5.004;
+require 5.005;
 
-$VERSION  = '0.09004';
+$VERSION  = '0.11005';
 $DEBUG    = 0 unless defined $DEBUG;
 $ERROR    = "";
 
@@ -318,6 +318,7 @@ sub data {
                 $data = join '', @$data;
             }
             elsif (isa($data, 'GLOB')) {
+                seek ($data, 0, 0) if eof ($data);
                 local $/;
                 $data = <$data>;
             }