我正在使用一个 Amazon Perl 模块,它返回对哈希引用数组的引用作为 $record_sets,其中包含记录集数据,我很难取消引用它。我可以使用数据转储器打印数据,但我需要能够操作数据。以下是为模块提供的文档
提前致谢:
#list_resource_record_sets
#Lists resource record sets for a hosted zone.
#Called in scalar context:
$record_sets = $r53->list_resource_record_sets(zone_id => '123ZONEID');
#Returns: A reference to an array of hash references, containing record set data. Example:
$record_sets = [
{
name => 'example.com.',
type => 'MX'
ttl => 86400,
records => [
'10 mail.example.com'
]
},
{
name => 'example.com.',
type => 'NS',
ttl => 172800,
records => [
'ns-001.awsdns-01.net.',
'ns-002.awsdns-02.net.',
'ns-003.awsdns-03.net.',
'ns-004.awsdns-04.net.'
]