レコード セット データを含むハッシュ参照の配列への参照を $record_sets として返す Amazon Perl モジュールを使用していますが、それを逆参照するのに苦労しています。データダンパーを使用してデータを印刷できますが、データを操作できる必要があります。以下は、モジュール用に提供されているドキュメントです
前もって感謝します:
#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.'
]