Hello list,

I´m using a json config file to read a file with server group
definitions, including group of groups like
this example:

[jdoe@belbo]# cat groups.json
{
        "G_Group_PR" : [ "serverA", "serverB" ],
        "G_Group_QS" : [ "serverC", "serverD" ],
        "G_All" : [ "G_Group_PR", "G_Group_QS" ]
}

now I need to resolve all groups to their member servers to map
actions to them.

this is where I´m stuck with an elegant solution, how can I
effectively parse this hash to
replace all Groups (always starting with G_)?

thanks
,
Stefan


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to