At 18.19 +0200 2000.04.23, Bert Altenburg wrote: >Simple as it is, I can't see why this doesn't compile. > >@myList = ('a','b','c'); >$x = @myList(1); >print "$x"; First, a style point: when printing just a simple scalar, you do not need quotes. This is sufficient: print $x; Now, for your broken array access syntax. All books describe the proper way to do this. As does the perldata manpage. Go to MacPerl Help, under "Data Structures," and look about four paragraphs from the top. It shows how to get an element from an array. Hope this helps, -- Chris Nandor | pudge@pobox.com | http://pudge.net/ Andover.Net | chris.nandor@andover.net | http://slashcode.com/ # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org