$array[0] . "|" . $array2[0]
Or you can put them into an array:
my $newarray[0] = [$array[0], $array2[0]];
Update: Got rid of the escape function: they are just numbers. Got rid of the temporary variable.
In reply to Re: avoiding the hash
by zby
in thread avoiding the hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |