to something like:print "$array[\"$current\"]";
which will test $array[$current] for "definedness" before it will attempt to print something that does not exist.print $array[$current] if $array[$current];
-enlil
In reply to Re: Newbie Question - arrays
by Enlil
in thread Newbie Question - arrays
by mohadib_the_nasty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |