"Rafael Cotta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> Question #1: How can I get the value of the key, so I can have in output
> file something like "key = value" instead of only "value", as the code
above
> does?

for my $key ( keys(%Form) ) {
  print FHD $key, '=', $Form{$key}, "\n";
}

> Question #2: I read on an old post to a newsgroup that one doesn't need to
> lock a file when appending, because the data to be written will be placed
in
> a buffer until it's full. Is it true? Or do you recommend to lock the
file?

I dont know the exact semantics w/o a little research, but for saftey's
sake, always get an exclusive lock to the files you are writing to.

trwww



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to