in reply to Yet another array problem

I was wondering why this doesnt work.

Learning Perl (or any other computer language) by sheer trial and error is a very inefficient process. In the immortal words of Dominus, "you can't just make shit up and expect the computer to magically know what you mean". Rather than posting questions like this, get yourself a decent Perl book, and study it.

the lowliest monk