in reply to Array output as SCALAR
sauoq gives an excellent diagnosis. The syntax for a 3-d array is,
The array in the print statement is quoted to give the effect of separating the printed elements by $".$MAIN[$seq_unique][$seq_position] = [@array[1 .. 21]]; print "@{$MAIN[$seq_unique][$seq_position]}";
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Array output as SCALAR
by MrMadScience (Acolyte) on Jul 08, 2003 at 16:00 UTC |