Content deleted Content added
Mindmatrix (talk | contribs) revert - it was Perl 5.10; see https://metacpan.org/pod/release/RGARCIA/perl-5.10.0/pod/perl5100delta.pod#say() |
m linking |
||
Line 155:
</syntaxhighlight>
Individual elements of a list are accessed by providing a numerical index in square brackets. The scalar [[sigil (programming)|sigil]] must be used. Sublists (array slices) can also be specified, using a range or list of numeric indices in brackets. The array sigil is used in this case. For example, <code>$month[3]</code> is <code>"April"</code> (the first element in an array has an index value of 0), and <code>@month[4..6]</code> is <code>("May", "June", "July")</code>.
===Hash values===
|