I am reading in a tab delimited file to a hash of arrays as follows:
open (TESTFILE, "filename");
while (<TESTFILE>) {
chomp;
($cashflows{field0}[$rowcount],
$cashflows{field1}[$rowcount],
$cashflows{field2}[$rowcount]) =
split(/\t/, $_);
$rowcount ++
}
I then want to sort the hash...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.