Re: hash of arrays question

2011-11-17 Thread Stefan Wiederoder
Hello Brandon, thanks a lot for your help - your code works like a charm, I´ve already put in my script which is now generating puppet node/classes definitions. bye , Stefan -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http:/

hash of arrays question

2011-11-15 Thread Stefan Wiederoder
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", "