Skip to content

Commit ff84848

Browse files
committed
Quickly clarify that items use dereferencing under sigil invarience
1 parent bdd43d9 commit ff84848

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Language/5to6.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ name.
183183
184184
The C<$> sigil is now always used with "item" variables (e.g. C<$name>),
185185
and no longer for L<array indexing|#[]_Array_indexing/slicing> and L<Hash
186-
indexing|#{}_Hash_indexing/slicing>.
186+
indexing|#{}_Hash_indexing/slicing>. That is, you will still use C<$x[1]>
187+
and C<$x{"foo"}>, but you use them on C<$x>, not C<@x> or C<%x>.
187188
188189
=head4 C<@> Array
189190

0 commit comments

Comments
 (0)