foreach(@ACCTS){ #dereference the elements of the hash contained in this #row of your array with the arrow... its just easier to #read in my opinion. print "This accounts id is ".$_->{id}."\n"; }