kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
Here i create an anonymous hash andmy @list_accounts = map { {account => $_->name,id=>$_->account_id} }@a +ccounts; foreach my $list_account (@list_accounts) { $$list_account{account_selected} = ($$list_account{id} == $contacts->account_id) ? 1:0; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Anonymous hash warning
by borisz (Canon) on Jan 28, 2005 at 12:39 UTC | |
|
Re: Anonymous hash warning
by r34d0nl1 (Pilgrim) on Jan 28, 2005 at 12:51 UTC | |
by kprasanna_79 (Hermit) on Jan 28, 2005 at 15:53 UTC | |
by nobull (Friar) on Jan 28, 2005 at 18:47 UTC | |
by kprasanna_79 (Hermit) on Feb 01, 2005 at 05:27 UTC | |
|
Re: Anonymous hash warning
by tphyahoo (Vicar) on Jan 28, 2005 at 12:38 UTC |