HI I got the following hashref
my $selet_domU_data = $DBH->selectall_hashref("select ram,ip,application,hosting,assigned_to,rdom0id from domU_info where server_name='$domU_server' ",'server_name' ); my $select_all_website = $DBH->selectall_hashref("select website_id,website_name from websites_name ",'website_id'); now i need to push $select_all_website into $selet_domU_data my %hash1 = %$select_all_website; foreach (keys %$selet_domU_data) { push (@{$selet_domU_data->{$_}}, { rets => %hash1 ); } print Dumper ([$selet_domU_data]); i also tried a combination of many other things but does not seem to work thanks in advanced -- Regards Agnello D'souza