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);
depends on what you want.print $#one;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how many elements in array?
by Limbic~Region (Chancellor) on Apr 18, 2005 at 12:43 UTC | |
by RazorbladeBidet (Friar) on Apr 18, 2005 at 12:59 UTC | |
by Limbic~Region (Chancellor) on Apr 18, 2005 at 13:19 UTC | |
by bradcathey (Prior) on Apr 18, 2005 at 13:02 UTC | |
by Limbic~Region (Chancellor) on Apr 18, 2005 at 13:11 UTC |