Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Data Structuresby TimButterfield (Monk) |
on May 02, 2008 at 15:06 UTC ( [id://684187]=note: print w/replies, xml ) | Need Help?? |
Agreed. But, consider also how this may be extended with new data elements in the future. Compare $Easting{$Line}{$Station}vs $Data{$Line}{$Station}{Easting}For example, if you were to add lat/long or one of the misc items to Station, the second structure would more easily accommodate that new data.
In Section
Seekers of Perl Wisdom
|
|