|
|
| more useful options | |
| PerlMonks |
Last two rows or a csv file.by qball (Beadle) |
| on Aug 17, 2001 at 19:44 UTC ( [id://105791]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.qball has asked for the wisdom of the Perl Monks concerning the following question:
My goal is to retrieve the last two rows of a csv file and do a calculation on the unix timestamp..the idea is to get a % OnTime and print the percentage of that time. The csv example rows are as follows:
I want to get the percentage of time taken between the last two unix timestamps in the last two rows and print that percentage as follows: 97.040% If anything is unclear, please let me know as I am happy to answer any questions. Thanks! qball~"I have node idea?!"
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||