perl.beginners
[Top] [All Lists]

Re: Arrays and Lists

Subject: Re: Arrays and Lists
From: Jeff Pang
Date: Mon, 29 Oct 2007 11:27:33 +0800
Newsgroups: perl.beginners

On 10/29/07, Tom Phoenix <tom@xxxxxxxxxxxxxx> wrote:

> An array is the kind of variable which holds
> a list; a list is the kind of data which is stored in an array. You
> can use the list contained in an array, and you can store a list into
> an array. But the array is the container, and the list is the
> contents.
>

I do agree with this statement,thanks Tom.
may I ask an OT question, I think perl's list is the same as python's
tuple.Both have the same characteristics but tuple is a real variable.
is it?

<Prev in Thread] Current Thread [Next in Thread>