in reply to How do I CREATE a new text file in perl?

Read a bit about open and you'll find that the output file is created if it doesn't exist.

Update: In addition to tadman's advice you might also check out file test operators which come in handy when one is mucking about creating files.

--
I'd like to be able to assign to an luser

  • Comment on Re: How do I CREATE a new text file in perl?