Hi all,
I am a perl newbie. I am using a perl code to read a column full of data from 1 field into an array
for(my $i=2;$i<table->last_record;$i++)
my @data = $table->get_record($i,"Date");
Now for example if my @data[1] consists of list of numbers, I need to find the diff between current record and prev record till it reaches the end of array.. Perl has such complex way of array accessing, I donno how to do $data[$i]-$data[$i-1].