------------------------------------------------ On Tue, 18 Feb 2003 09:41:21 -0700 (MST), Rob Trahan <[EMAIL PROTECTED]> wrote:
> Hello, > > I was wondering how I would could access arrays of arrays. I would like to > be able to get to (print, for now) the value in each nested array. Here > is what I've been trying: > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > #!/usr/bin/perl > > @jon = qw/ "jon" "hansfelt" "123-1122" /; > @ben = qw/ "ben" "jones" "222-1231" /; > @marsha = qw/ "marsha" "padgett" "333-9087" /; > @abe = qw/ "abe" "johnson" "421-4623" /; > On top of what Timothy already stated, in the above you are essentially double quoting the words. Unless you want the (") to be part of each element, you should not be using them in combination with qw. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]