I don't understand what you are trying to do

On Tue, Jun 7, 2011 at 08:47, Agnello George <agnello.dso...@gmail.com>wrote:

> 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
>



-- 
Marcos Rebelo
http://www.oleber.com/
Milan Perl Mongers leader https://sites.google.com/site/milanperlmongers/
Webmaster of http://perl5notebook.oleber.com

Reply via email to