p4raw-id: //depot/perl@19512
} 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;