This is simple:
print $array[$i][$j] if defined $array[$i][$j];
Or alternatively:
if (defined $array[$i][$j]) { print $array[$i][$j]; } else { print ''; }
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: undefined elements in array
by tachyon
in thread undefined elements in array
by Ntav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |