Perl Data Structures - Accessing Arrays of Arrays
Method 1:
@array=(["apple","orange"],
["Mango","Banana"],
["Papaya","Peach"]
);
$arrayref = $array[1];
print ${$arrayref}[1];
Read more »
[There's More Than One Way To Do It]
Always A Blog To Get Confident in Coding
Method 1:
@array=(["apple","orange"],
["Mango","Banana"],
["Papaya","Peach"]
);
$arrayref = $array[1];
print ${$arrayref}[1];
Read more »