Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Reportingby kelan (Deacon) |
on Apr 03, 2003 at 18:28 UTC ( [id://247841]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Meditations
|
|