summaryrefslogtreecommitdiff
path: root/lib/Tie
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-08 17:47:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-08 17:47:13 +0000
commit86e5a81e88dbe10bf1c195d6ca6fefab8bfafc17 (patch)
tree2c7e7b5d052d3767bf655268d61e815bd6458b95 /lib/Tie
parent6ae23f4134087bc885284bd6ae11bfeb719e2459 (diff)
downloadperl-86e5a81e88dbe10bf1c195d6ca6fefab8bfafc17.tar.gz
Tiny nit from mjd.
p4raw-id: //depot/perl@19451
Diffstat (limited to 'lib/Tie')
-rw-r--r--lib/Tie/File.pm4
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, "");