http://qs1969.pair.com?node_id=448814


in reply to how many elements in array?

or
#!/usr/bin/perl -w use strict; my @one=(1,2,3,4,5,6); print scalar(@one);
or
print $#one;
depends on what you want.
UPDATE
you should also check out the the basic datatypes, three node