What are the individual parts of a basic perl array?



  • 0_1533805349326_perl-array.png

    The @animals references the entire array, it the variable that holds the list, the list items are individual indexes, referenced using animal[0], animal[1], etc. animal[0] will be lion, animal[1] will be tiger and so on.


Log in to reply
 

© Lightnetics 2024