in reply to Reporting
my $num_elements = @array; is not the same as my $num_elements = $#array; The second will give you one less than the length because it actually returns the index of the last element.
kelan
Perl6 Grammar Student
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Reporting
by dragonchild (Archbishop) on Apr 03, 2003 at 19:10 UTC | |
by diotalevi (Canon) on Apr 04, 2003 at 00:59 UTC | |
by l2kashe (Deacon) on Apr 04, 2003 at 05:54 UTC |
In Section
Meditations