I have an array in perl which looks similar to this:
$ary[0][0] = "Title";
$ary[0][1] = "ColA";
$ary[0][2] = "ColB";
$ary[0][3] = "ColB";
$ary[0][4] = "ColB";
$ary[1][0] = "Title";
$ary[1][1] = "ColA";
$ary[1][2] = "ColB";
$ary[1][3] = "ColB";
$ary[1][4] = "ColB";
I know that by doing a print $#ary; I will get the size of the first part of the array, which is a "1", but I need to know how to get the size of the 2nd part of the ary which should be a "4".
Thanks in advance for the help,
Pan
$ary[0][0] = "Title";
$ary[0][1] = "ColA";
$ary[0][2] = "ColB";
$ary[0][3] = "ColB";
$ary[0][4] = "ColB";
$ary[1][0] = "Title";
$ary[1][1] = "ColA";
$ary[1][2] = "ColB";
$ary[1][3] = "ColB";
$ary[1][4] = "ColB";
I know that by doing a print $#ary; I will get the size of the first part of the array, which is a "1", but I need to know how to get the size of the 2nd part of the ary which should be a "4".
Thanks in advance for the help,
Pan