|
|
|
|
|
by matt_p
5635 days ago
|
|
Why is this difficult to understand?
my @foo = qw(1 2 3);
$foo[0] = 1; you are referencing an array and returning a scalar. the sigil represents a scalar which is what is returned. A list isn't being returned, so why should the sigil represent that? |
|