3 ms·
One of the things sigil allow you to do is overload other syntax. The example I usually bring up is the difference between @hash{a,b,c} which returns a li
by kqr 3y ago
One of the things sigil allow you to do is overload other syntax. The example I usually bring up is the difference between
@hash{a,b,c}
which returns a list containing the values associated with keys a, b, and c; and on the other hand
$hash{a,b,c}
which returns the single item associated with the key constructed from concatenating a, b, and c (used to emulate a three-dimensional array.)