我转储了一个数据结构:
print Dumper($bobo->{'issues'});
并得到:
$VAR1 = {
'155' => {
'name' => 'Gender',
'url_name' => 'gender'
}
};
我怎样才能提取155
?
如果我有怎么办:
$VAR1 = {
'155' => {'name' => 'Gender', 'url_name' => 'gender'},
'11' => {'name' => 'Toddler', 'url_name' => 'toddler'},
'30' => {'name' => 'Lolo', 'url_name' => 'lolo'}
};
我想打印一个键,即第一个或第二个来查看键的值?