$#array1 returns the last index of the array so that iterates over the indexes of the array. Hopefully, the following example will help you understand:
my @array = qw( a b c ); for my $i (0..$#array) { print("$i: $array[$i]\n"); }
In reply to Re^3: Inserting 2 arrays into 2 field in MySQL
by ikegami
in thread Inserting 2 arrays into 2 field in MySQL
by poolboi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |