in reply to Re^2: Build your array with push
in thread Build your array with push

Woah, woah, woah. That code just replaces the last element multiple times. Did you maybe mean
$array[@array] = "Hibbs";
or
$array[++$#array] = "Hibbs";
?

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^4: Build your array with push
by friedo (Prior) on Jan 31, 2006 at 21:31 UTC
    Nope, I meant what I said, believe it or not. The program never worked correctly, and that was one of many reasons why. (No strict, either.) Amazingly, this one dude had been working on it for six weeks before I saw it.