This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Missing ; in Tie::File
authorNicholas Clark <nick@ccl4.org>
Thu, 22 Dec 2005 23:43:22 +0000 (23:43 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 22 Dec 2005 23:43:22 +0000 (23:43 +0000)
p4raw-id: //depot/perl@26454

lib/Tie/File.pm
lib/Tie/File/t/00_version.t

index 2f247c3..dfd86cd 100644 (file)
@@ -7,7 +7,7 @@ use Fcntl 'O_CREAT', 'O_RDWR', 'LOCK_EX', 'LOCK_SH', 'O_WRONLY', 'O_RDONLY';
 sub O_ACCMODE () { O_RDONLY | O_RDWR | O_WRONLY }
 
 
-$VERSION = "0.97";
+$VERSION = "0.97_01";
 my $DEFAULT_MEMORY_SIZE = 1<<21;    # 2 megabytes
 my $DEFAULT_AUTODEFER_THRESHHOLD = 3; # 3 records
 my $DEFAULT_AUTODEFER_FILELEN_THRESHHOLD = 65536; # 16 disk blocksful
@@ -93,7 +93,7 @@ sub TIEARRAY {
     unless (seek $file, 1, SEEK_SET) {
       croak "$pack: your filehandle does not appear to be seekable";
     }
-    seek $file, 0, SEEK_SET     # put it back
+    seek $file, 0, SEEK_SET;    # put it back
     $fh = $file;                # setting binmode is the user's problem
   } elsif (ref $file) {
     croak "usage: tie \@array, $pack, filename, [option => value]...";
index 3dd51c0..f98523a 100644 (file)
@@ -2,7 +2,7 @@
 
 print "1..1\n";
 
-my $testversion = "0.97";
+my $testversion = "0.97_01";
 use Tie::File;
 
 if ($Tie::File::VERSION != $testversion) {