Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by sandmuto (Initiate)
on Oct 15, 2001 at 14:33 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://118844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found