summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2003-05-13 13:28:42 +0000
committerGurusamy Sarathy <gsar@cpan.org>2003-05-13 13:28:42 +0000
commitf7363f9d385a744e58d57696a5dce9ce4ca6ff3d (patch)
treecf995b406371de42173768013a784fcc96d793c3 /lib
parente0cf91d56b571fae04d6e52c0045b5e6dc4f5eae (diff)
downloadperl-f7363f9d385a744e58d57696a5dce9ce4ca6ff3d.tar.gz
make it easier to reproduce the bug
p4raw-id: //depot/perl@19512
Diffstat (limited to 'lib')
-rw-r--r--lib/Tie/File.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Tie/File.pm b/lib/Tie/File.pm
index c1f3be347d..678e739897 100644
--- a/lib/Tie/File.pm
+++ b/lib/Tie/File.pm
@@ -94,6 +94,7 @@ sub TIEARRAY {
} elsif (ref $file) {
croak "usage: tie \@array, $pack, filename, [option => value]...";
} else {
+ # $fh = \do { local *FH }; # XXX this is buggy
if ($] < 5.006) {
# perl 5.005 and earlier don't autovivify filehandles
require Symbol;