Hi.... I am new to perl.... and after reading up on how to
write scripts. I find I am not able to do this simple thing.
I can do it in Excel but I would like a script in perl to do
the same thing. Here's the details
I have a file.......
date:col1:col2:col3
20010102:21:45:25
20010103:14:20:15
etc.........
20010124:10:8:10
What I would like to do is find the 10 day average of col3
and the 5 day average of col2...... and write all of this to
a log file......like this...
"Name of file" average col2 value of last entry col2
average col3 value of last entry of col3
( last entry is the last line in the file ie 20010124..
Could someone please have a look at this and help me out
here...???
Thank you
Joachim