我有以下多方面的散列變量如何分析多維散列變量在Perl
my %billingMember ;
$billingMember{1}->{'useremail_quota'} = 10;
$billingMember{1}->{'useremail_blockedquota'} = 5;
$billingMember{2}->{'useremail_quota'} = 10;
$billingMember{2}->{'useremail_blockedquota'} = 5;
我怎樣才能解析變量%billingMember?
即我需要得到像
$ billingMember {1}的每個值 - > { 'useremail_quota'},
$ billingMember {1} - > { 'useremail_blockedquota'},
$ billingMember {2} - > { 'useremail_quota'} ....
這裏1 & 2只是舉例,它會動態
因此,我認爲,我們需要使用的foreach或爲
你是什麼意思「解析變量「? – zoul 2013-04-30 06:23:20
我需要獲得每個值$ billingMember {1} - > {'useremail_quota'}, $ billingMember {2} - > {'useremail_quota'} .... – 2013-04-30 06:25:25