Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by sandmuto
on Oct 15, 2001 at 14:33 UTC ( #118844=perlquestion: print w/replies, xml ) Need Help??

sandmuto has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on How do I read from one file and write my processed results to another file?

Replies are listed 'Best First'.
Re: what statements are used in order to obtain results in another file?
by davorg (Chancellor) on Oct 15, 2001 at 14:47 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://118844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2021-04-20 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?