HoH to AoA
- From: rodrick.brown@xxxxxxxxx ("Rodrick Brown")
- Date: Tue, 28 Oct 2008 12:14:43 -0400
What's the correct to walk a HoH like the following?
I built a data structure that looks like what's shown below and need a quick
way to reconstructure the data into an array of arrays.
ie $cfglist[0] = (nybmlx01,'BookManagerDaemon', '1','2','Xbook.jar');
Any assistance will be appreciated thanks.
$VAR1 = {
'nybmlx01b' => {
'BookManagerDaemon' => {
'1' => {
'2' => [
'Xbook.jar'
]
}
}
},
'nycmlx02a' => {
'CancellationManagerDaemon' => {
'0' => {
'2' =>
[
'Xbook.jar'
]
}
}
},
'nycplx01a' => {
'clientProxyDaemon' => {
'0' => {
'2' => [
'Xbook.jar'
]
}
}
},
'nyrmlx01b' => {
'RepricingManagerDaemon' => {
'1' => {
'2' => [
'Xbook.jar'
]
}
}
},
--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
- Follow-Ups:
- Re: HoH to AoA
- From: Mr. Shawn H. Corey
- Re: HoH to AoA
- Prev by Date: Re: Curly braces and the logic of PERL
- Next by Date: matching elements from array and print the results line by line from log file
- Previous by thread: Is there a better way to get current tty name
- Next by thread: Re: HoH to AoA
- Index(es):
Relevant Pages
|