Hi All,
After a couple of emails about opening a file with a lower case FH, I have a question. I see everyone opening a file with an "or die" statement, what I can fully understand. But I see you also close the FH with an "or die" statement. Why ? What can go wrong with closing an FH ? Can anyone tell me the answer ? I am much interested. Regs David > Ok, thank you, but now I'm having another problem with this: > > open(TEXT,"text.txt") or die ("error: text.txt failed\n"); > while (<TEXT>) { > my $text = <TEXT>; > } > close(TEXT) or die("error: close text.txt failed\n"); > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]