in reply to print a hash ref
for my $key (keys %cacheDBs) { my $mxs = join ':', map "$_ $cacheDBs{$db}{mxs}{$_}", keys %{ $cac +heDBs{$db}{mxs} }; print "\n/opt/freeware/bin/gmetric -n $db -T $db -g $Ggroup -t dou +ble -u MaxSize -v $mxs -d 45)\n"; }
Untested (the code was not runnable to demonstrate the issue).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print a hash ref
by teamassociated (Sexton) on Jul 09, 2013 at 14:07 UTC | |
by nemesdani (Friar) on Jul 09, 2013 at 14:14 UTC | |
by teamassociated (Sexton) on Jul 09, 2013 at 14:39 UTC | |
by SuicideJunkie (Vicar) on Jul 09, 2013 at 15:15 UTC | |
by nemesdani (Friar) on Jul 09, 2013 at 14:41 UTC |