more useful options | |
PerlMonks |
Re^2: How to print an array of multidimensional arrays with a for or foreach loopby thanos1983 (Parson) |
on Aug 11, 2014 at 01:22 UTC ( [id://1096949]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|