my @accounts = [ [ current => 1000 ], [ savings => 2000 ], [ other => 500 ], ]; display_2d(\@accounts); # Should display: current | 1000 savings | 2000 other | 500