考虑示例代码:的Perl:提领哈希散列的散列
$VAR1 = {
'en' => {
'new' => {
'style' => 'defaultCaption',
'tts:fontStyle' => 'bold',
'id' => 'new'
},
'defaultCaption' => {
'tts:textAlign' => 'left',
'tts:fontWeight' => 'normal',
'tts:color' => 'white',
}
},
'es' => {
'defaultSpeaker' => {
'tts:textAlign' => 'left',
'tts:fontWeight' => 'normal',
},
'new' => {
'style' => 'defaultCaption',
'tts:fontStyle' => 'bold',
'id' => 'new'
},
'defaultCaption' => {
'tts:textAlign' => 'left',
'tts:fontWeight' => 'normal',
}
}
};
我回它作为参考, 回报\%哈希
我如何提领呢?
我想要完全解除引用。试过你说的话。这是行不通的。它只解引用第一个散列。 – dreamer
你能给我一个你想要做什么的代码示例吗?我引用的教程很有帮助,顺便说一句。 – rjh