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


in reply to Re: How to print an array of multidimensional arrays with a for or foreach loop
in thread How to print an array of multidimensional arrays with a for or foreach loop

Hello ikegami,

I have seen several times this syntax (ref($row) ? @$row : $row) but I was not aware how it was operating. So I looked it up and I found ternary operator ? it was so simple [condition] ? [true expression] : [false expression].

Thank you for time and effort.

Seeking for Perl wisdom...on the process of learning...not there...yet!