Hello,
I am trying to make a two dimentional array. I have a function that returns
an array. The following code works:
@x = f();
push(@y, \@x);
and then I can reference it @{@y[$i]}[$j};
Is this the best way to make two dimentional arrays; I.e., using push and
reference to arrays?
Also, I was wondering if I can construct the array without a variable x.
I tried:
push(@y, \f());
push(@y, \@{f()});
The second line does something but not what I intended to do.
Can I make a two dimentional array without using the variable x?
Best Regards,
Behdad Forghani
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]