It looks like you missed the square brackets around the array index in the print line.
print $out "vettore1\n"; # bad print $out "vettore[1]\n; # good
Cheers,
R.
In reply to Re^5: writing array element to a file
by Random_Walk
in thread writing array element to a file
by francesca1987
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |