in reply to Figuring out some data structure
Since it is a reference it required appropriate dereferencing to be treated as an array so you can push and pop and do all sorts of array operations on it. This is why @{} is used, it dereferences an array reference.
So after all, $labels{$tablename} is a scalar that holds a reference to an anonymous array whose values are the table-names.
|
|---|