On 6/15/2004 5:39 PM, Jim wrote:
Hello.

I'm in drastic need of a book or other reference on arrays. I think "Arrays for Dummies" would probably be too complicated for me. For some strange reason, I can do reverse Polish notation in my sleep, but when it comes to arrays, well, my mind completely empties, my eyes glaze over, and I don't hear a word the person who's trying, in vain, to teach me what they are and how to use 'em... I simply slip away to some other planet. In fact, my friend Maureen took two solid days attempting to teach me, until she practically went running from the room pulling her hair out by the roots. I don't know why, I've just got a block against them. Also, please don't head me toward any books I might not find at the public library -- I'm on a fixed income of $564.00/month USD.

An array is a list:

elem1
elem2
elem3

each element in its own slot and fixed in position relative to other elements. Each element can be refered to by its offset into the list: i.e. the first element is offset 0, the next is offset 1, etc. A variable that holds an array is referenced like: @my_array_var. A single element is refered to like: $my_array_var[0] where the number in brackets is an offset into the array.

Those are the basics. What specifically are you having trouble with?

Also, check out the website at <http://learn.perl.org/>. Specifically, the online library, <http://learn.perl.org/library/>, provides some free books & tutorials.

Regards,
Randy.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to