http://www.perlmonks.org?node_id=896740


in reply to Re^5: undefined value in array reference
in thread undefined value in array reference

YES! - well, it's actually mapping out as $aob[column][row] But that's a minor issue that's all though the whole project. Maybe my conventions are a little off from everyone else's. Wouldn't be the first time.

Be that as it may my @row = map $_->[$y - 1], @aob; gives me proper results in the output without resorting to a foreach loop.

Thank You

Replies are listed 'Best First'.
Re^7: undefined value in array reference
by kennethk (Abbot) on Mar 31, 2011 at 22:32 UTC
    For a little background on the column/row confusion, see Row-major_order.

    Glad to have helped.