in reply to Printing the length of an array ?

Most likely you will want to print something more than just the length:

print @array."\n";
but I would rather use the
print scalar(@array);
to me it looks more clear.