RE: List vs. Array
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of David Jelinek Sent: 19 August 2011 21:35 To: perl-win32-users@listserv.ActiveState.com Subject: Re: List vs. Array On 08/19/2011 04:24 PM, Barry Brevik wrote: Since list traffic seems to be overly light, I'll post this slightly off-topic query. All of my Perl books seem to use the word list and array interchangeably. Is there a difference between a list and an array? (believe it or not, I'm not a newb). Here's a link that discusses the topic: https://www.socialtext.net/perl5/array_vs_list Also a FAQ. See 'perldoc -q list.*array'. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: List vs. Array
It's my impression (Danger Will Robinson!) that an array has a name while a list doesn't. That is, for: my @ary = (1, 2, 3); @ary is an array, while (1, 2, 3) is a list, the contents of which are the three integers, one, two, and three. This probably isn't quite kosher--there's probably more to it than this. Just my two cents. Deane Rothenmaier Programmer/Analyst - IT-StdCfg Walgreens Corp. 2 Overlook Point #N51022D MS 6515 Lincolnshire, IL 60069 224-542-5150 I will make sure that my doomsday device is up to code and properly grounded. - Peter Anspach's list of 100 things to do when one becomes an Evil Overlord -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Friday, August 19, 2011 3:25 PM To: perl-win32-users@listserv.ActiveState.com Subject: List vs. Array Since list traffic seems to be overly light, I'll post this slightly off-topic query. All of my Perl books seem to use the word list and array interchangeably. Is there a difference between a list and an array? (believe it or not, I'm not a newb). Barry Brevik Stellar Microelectronics ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: List vs. Array
On 08/19/2011 04:24 PM, Barry Brevik wrote: Since list traffic seems to be overly light, I'll post this slightly off-topic query. All of my Perl books seem to use the word list and array interchangeably. Is there a difference between a list and an array? (believe it or not, I'm not a newb). Here's a link that discusses the topic: https://www.socialtext.net/perl5/array_vs_list smime.p7s Description: S/MIME Cryptographic Signature ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: List vs. Array
Thanks!! That's a great reply. -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of David Jelinek Sent: Friday, August 19, 2011 1:35 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: List vs. Array On 08/19/2011 04:24 PM, Barry Brevik wrote: Since list traffic seems to be overly light, I'll post this slightly off-topic query. All of my Perl books seem to use the word list and array interchangeably. Is there a difference between a list and an array? (believe it or not, I'm not a newb). Here's a link that discusses the topic: https://www.socialtext.net/perl5/array_vs_list ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs