>>>>> "Rob" == Rob Dixon <rob.di...@gmx.com> writes:
Rob> I tested the similar Rob> my @data = do { Rob> open my $fh, '<', $file or die $!; Rob> <$fh>; Rob> }; Rob> a while ago, but not on v5.10. I will see if I can find time to try it again. Ahh, but that's very different. My suspicion is that both the last-expr scalar of the block and the $result scalar will share the same single payload, similar to how: $x = $y doesn't actually copy the *content*... just the scalar wrapper around the content. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/