in reply to 2-strange side effect with FH

You should really see this node, because it answers a question quite similiar to the one you just asked. Put a close in, and you'll have better results.

open (TEMPO, "+>c:\\winnt\\temp\\hash.tmp"); print (TEMPO "aba uba\niba seba\njak yuk\n"); close (TEMPO); open (TEMPO, "<c:\\winnt\\temp\\hash.tmp"); while (<TEMPO>) { print; } close (TEMPO);

Use strict; Always. Never deviate from the path of righteousness that is strict.

John J Reiser
newrisedesigns.com