Hello Everybody,

A very happy new year to all of you.

Well, I'm trying to create a 2D array in which the 1st array is completely
numeric and the other array is a combination of numbers and text.
If I write it as :
@aoa = ([0..5], [1,2,undef, 3,4]);

then the program accepts this array of array, but if I write it as (I need
the following form):

@aoa = ([0..5], [EMAIL PROTECTED]);
where @values = (1, 2, undef, 3, 4);
then the program does not accept it.

Is there a provision in Perl to define heterogenous arrays? Please help!

Best Wishes,
Aditi

Reply via email to