
diddyp20
New User
Oct 5, 2012, 1:07 PM
Post #1 of 2
(2335 views)
|
Read and edit text file
|
Can't Post
|
|
Hello, I am a newbie on Perl and wanted to know what is the syntax to read an input file, edit it and save the result in an output file. for instance I have the a text file have the data: Server Date Time State QA01 10/5/2012 4:04 idle I want to read the file and get a result looking like this Server Date Time State Year Month Day QA01 10/5/2012 4:04 idle 2012 10 5 Is it possible? if yes how can I do it? Thank you
|