CP Web Hosting
CP Web Hosting
 

Go Back   Hosting Forums - cp web hosting > Server Scripting > PERL
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2007, 02:29 AM
Yen Yen is offline
Junior Member
 
Join Date: Apr 2007
Posts: 6
Default Difference between Lists and Arrays in Perl

In Perl, the lists and arrays are used interchageably, Is there any difference between them?
Reply With Quote
  #2 (permalink)  
Old 07-13-2007, 02:32 AM
Junior Member
 
Join Date: Apr 2007
Posts: 6
Default

In Perl, the two terms are often used as if they're interchangeable. But, to be accurate, the list is the data, and the array is the variable. You can have a list value that isn't in an array, but every array variable holds a list (although that list may be empty).
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0