in reply to DBI and fetchrow_hashref
print $hashrow->{phone}, "\n";
The Data::Dumper module is useful in cases like this. You can
print Dumper ($hashrow);
to see the structure of the reference, and figure out how to get at the data.
HTH