On 09/09/2014 06:01 PM, John SJ Anderson wrote:
On Tue, Sep 9, 2014 at 2:57 PM, Shawn H Corey <shawnhco...@gmail.com> wrote:

Lists are sequences used by Perl. They are very short lived, seldom
longer than one statement.
The way I've always liked to explain this is that arrays are the
containers you use to store a list.
As Shawn says, a list is usually pretty ephemeral -- but if you want
it to stick around, you can put it in an array variable.
to be a little more exact, lists live only in expressions and are on the stack. arrays can live between statements and are allocated from the heap.

also the names of those variables are confusing. artificial array?

uri




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to