On Jan 29, Kevin Old said: >On Thu, 2004-01-29 at 12:34, Jeff 'japhy' Pinyan wrote: >> On Jan 29, Kevin Old said: >> >> >@one = qw(A B C D); >> >@two = qw(E F G H); > >Well, no that wasn't what I was looking for, but it's a nice piece of >code to add to my arsenal. That basically puts the contents of @one in >the first *row* of the @mda, @two in the second *row*. I want it to go >in @mda in the *columns*. So... > >$mda[0][0] = A; >$mda[0][1] = B; > >$mda[1][0] = E; >$mda[1][1] = F;
Oh, ok. @mda = ([EMAIL PROTECTED], [EMAIL PROTECTED]); # or @mda = ([EMAIL PROTECTED], [EMAIL PROTECTED]); -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>