HI there,
I am trying to figure out the best variable structure to contain the
following data. and then also routines to extract it. Note there are
3-6 elements for the link_int associated with each network device. the
Network devices are partitioned between the braces.
{
hostname => ['core1',],
loopback => [250,],
link_int => ['int1', 'int2', 'int3',
'int4', 'int5', 'int6',],
link_ip => [37, 33, 29, 25, 21, 2,],
},
{
hostname => ['core2',],
loopback => [254,],
link_int => ['int1', 'int2', 'int3',],
link_ip => [34, 54, 10, ],
},
{
hostname => ['core3',],
loopback => [252,],
link_int => ['int1', 'int2', 'int3',
'int4', 'int5', 'int6',],
link_ip => [57, 49, 45, 41, 30, 53,],
};
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/