It prints the rows from last to first. Now I need to get the first two rows timestamp and do the calulations. Then we'll be good to go!#!/usr/bin/perl open (FILE, "edidocs.csv") or die "Can't open file $!\n"; @lines = <FILE>; while ($line = pop @lines) { print $line "\n"; }
In reply to Re: (elbie): Last two rows or a csv file.
by qball
in thread Last two rows or a csv file.
by qball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |