OK - you guys have hit what I need 100% on target.
What I have to output is:
location,login1,login2,login3
location2,login1,login2,login3,login4,
...
If my data structure is:
$table = {
'West' => [
login1,login2,login3],
'East' => [
login1,login2,login3],
'North' => [
login1,login2,login3,login4],
'South' => [
login1,login2,login3]
}
Then how do I iterate through to get the data into:
West,login1,login2,login3
East,login1,login2,login3
...