in reply to Re: size of array
in thread size of array

sh1tn, $#a++ for 1..5; is basically the same as
for (1..5) { $#a=$_; }
what makes no sense in my eyes. Why assigning 1..4 when you end up with 5 and do nothing in between?

Anyway, here's mine:
my @a = (0) x 5


holli, /regexed monk/

Replies are listed 'Best First'.
Re^3: size of array
by sh1tn (Priest) on May 04, 2005 at 14:16 UTC
    Yes, you are right holli.
    I ment to show what happens with each iteration.
    Everyone has the right to dislike my style.