Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Replace characters of input stream on the fly

by apl (Monsignor)
on Apr 08, 2011 at 10:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://898314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found