Help for this page
#!/usr/bin/perl my @ar1; ... $ar1[1][2] = "five"; my $count = scalar @{ $ar1[1] }; print "count = $count\n";
However, if I create the array this way it doesn't work: ... $ar1 = (["one", "two"], ["three", "four", "five"]); my $count = scalar @{ $ar1[1] }; print "count = $count\n";