diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-08 17:47:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-08 17:47:13 +0000 |
commit | 86e5a81e88dbe10bf1c195d6ca6fefab8bfafc17 (patch) | |
tree | 2c7e7b5d052d3767bf655268d61e815bd6458b95 /lib/Tie | |
parent | 6ae23f4134087bc885284bd6ae11bfeb719e2459 (diff) | |
download | perl-86e5a81e88dbe10bf1c195d6ca6fefab8bfafc17.tar.gz |
Tiny nit from mjd.
p4raw-id: //depot/perl@19451
Diffstat (limited to 'lib/Tie')
-rw-r--r-- | lib/Tie/File.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Tie/File.pm b/lib/Tie/File.pm index 43fd1d6727..a47868868f 100644 --- a/lib/Tie/File.pm +++ b/lib/Tie/File.pm @@ -670,7 +670,7 @@ sub _upcopy { my $fh = $self->{fh}; $self->_seekb($spos); - my $bytes_read = read $fh, my $data, $readsize; + my $bytes_read = read $fh, my($data), $readsize; $self->_seekb($dpos); if ($data eq "") { $self->_chop_file; @@ -696,7 +696,7 @@ sub _downcopy { my $readsize = ! defined($len) ? $blocksize : $len > $blocksize? $blocksize : $len; $self->_seekb($pos); - read $fh, my $old, $readsize; + read $fh, my($old), $readsize; $data .= $old; $self->_seekb($pos); my $writable = substr($data, 0, $readsize, ""); |