Re: Multi Dimensional Arrays

2006-02-01 Thread James Sluka
I am a newbee in perl. Just wanted some guidance so as to how to implement multidimensional arrays in perl. I have to create an 2-d array with 26*26 of all the english alphabets so that for each row and column i can have a partiulcar value like a to a =1 b to a=2; I am just not getting how to impl

Re: Multi Dimensional Arrays

2006-02-01 Thread $Bill Luebkert
Chris Wagner wrote: > What do u mean by an array of the alphabet? Arrays in perl can have numeric > indexes only. So something like @array[a] is invalid. U can specify two > dimensional values like $array[1][1] = "a"; that's offset column 1 row 1. > There are various methods to automatically g

RE: Multi Dimensional Arrays

2006-02-01 Thread Chris Wagner
At 07:49 AM 2/1/2006 -0500, Peter Eisengrein wrote: >Actually, this returns nothing. Array numbering starts with 0. What he meant >was: > >print $array[1][2]; > >But i'm sure you got the point. ;-) Doh! Too early in the morning. ;) -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-

Re: RE Multi Dimensional Arrays

2006-02-01 Thread Sisyphus
- Original Message - From: "Jarvis, John" <[EMAIL PROTECTED]> To: "'amit hetawal'" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 01, 2006 7:23 PM Subject: RE Multi Dimensional Arrays > Amit wrote: > > > > >Hello all, &g

Re: Multi Dimensional Arrays

2006-02-01 Thread Chris Wagner
At 05:56 AM 2/1/2006 -, amit hetawal wrote: > I am a newbee in perl. Just wanted some guidance so as to how to implement multidimensional arrays in perl. I have to create an 2-d array with 26*26 of all the english alphabets so that for each row and column i can have a partiulcar value like a

RE Multi Dimensional Arrays

2006-02-01 Thread Jarvis, John
Amit wrote:   >Hello all, >  I am a newbee in perl. Just wanted some guidance so as to how to implement multidimensional arrays in perl. I have >to create an 2-d array with 26*26 of all the english alphabets so that for each row and column i can have a partiulcar >value like a to a =1 >b