That can be wrong for at least one very bad reason that you should be glad you don't know. This code is always correct, shorter, and less noisy:
my $count = @array;In reply to Re^4: Printing the length of an array ?
by chromatic
in thread Printing the length of an array ?
by jflevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |