I currently use the following hash which works fine
%hash = (
'env1' => 'server1:port1, server11:port11',
'env2' => 'server2:port2, server22:port22'
) ;
However, what I really want to do is create the following data structure, which will make it easier for me to extract the information. The following obviously does not work.
( env1 => "server=server1, port=port1", "server=server11, port=port11", env2 => "server=server2, port=port2", "server=server22, port=port22" ) ;
Wondering if anyone has any suggestions on creating a data structure that would match my requirements.