in reply to How do I read from one file and write my processed results to another file?

This is still the Finite Automata problem from the University of Zimbabwe isn't it?

In order to read or write from a file, you need to first open a filehandle. Here's a link to the documentation on open.

You output data to a file using the print function. Documentation on print is here.

If you have any further questions, perhaps you could show us the code - we'd then be able to be more help.

  • Comment on Re: what statements are used in order to obtain results in another file?