in reply to GD::Graph::linespoints - References
However, you should decide which is the best data structure suitable for what you intend to do with your data, then think about how storing it somewhere. You can also look for Storable or XML::Simple for ways to do the latter.#!/usr/bin/perl # Load data inside %times hash my %times; while (<DATA>) { next unless /\S/; # just in case... my ($month, $weeknum, $day, $val) = split /;/; $times{$month}{"wk$weeknum"}{$day} = $val; } # ... all your program here ... __DATA__ May;1;Mon;24.50 May;1;Tues;23.40 May;1;Wed;22.40 May;1;Thu;25.01 May;1;Fri;24.10 ... and so on...
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GD::Graph::linespoints - References
by ghenry (Vicar) on May 16, 2005 at 16:13 UTC | |
by polettix (Vicar) on May 16, 2005 at 16:24 UTC |