Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Replace characters of input stream on the fly

by apl (Monsignor)
on Apr 08, 2011 at 10:37 UTC ( #898314=note: print w/ replies, xml ) Need Help??


in reply to Replace characters of input stream on the fly

Write a program that opens a file, or dies if it can't be opened.

Modify the program to read one line, and display that line.

Modify that program to read each line in the file.

Modify that program to open a second, CSV file for output (dying if you can't).

Modify that program to output each read line to the CSV file.

Modify that program to change the record terminator.

Let us know at what point you have a problem. Show us your code and the error produced.

Otherwise, tell your teacher / boss you're too lazy to do the job yourself...


Comment on Re: Replace characters of input stream on the fly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-10-21 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (100 votes), past polls