in reply to Program only writes last information entered (was Writing and writing and writing)

You're not calling write() until you're done with the loop. You need to call write() at the end of every iteration, so that each block of data gets written.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;