in reply to Re^4: Overwriting Hash / Array
in thread Overwriting Hash / Array
poj#!perl use strict; use Data::Dump 'pp'; my $bi->{customer}{domain}{host}{BACKUPDATA}=[ { ENDDATE_SEC => 1 }, { ENDDATE_SEC => 2 }, { ENDDATE_SEC => 3 }, { ENDDATE_SEC => 4 }, { ENDDATE_SEC => 5 }, ]; pp $bi; for my $act (@{$bi->{customer}->{domain}->{host}->{BACKUPDATA}}){ print $act->{ENDDATE_SEC}."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Overwriting Hash / Array
by iRemix94 (Sexton) on Jul 28, 2015 at 12:08 UTC | |
by poj (Abbot) on Jul 28, 2015 at 18:49 UTC |