or#!/usr/bin/perl -w use strict; my @one=(1,2,3,4,5,6); print scalar(@one);
depends on what you want.print $#one;
In reply to Re: how many elements in array?
by tcf03
in thread how many elements in array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |