>>109571949
oh yeah, actually I fucked up.
my @names = ['alice', 'bob', 'charlie']; ### <-- WRONG
actually you need
my @names = ('alice', 'bob', 'charlie');
my $names_ref = ['alice', 'bob', 'charlie'];
print $names[0];
print $names_ref->[0];
>>109573164
What I found weird is that the way the sigil can change when using the same variable. So you have @names the array but to access the first element you use $names[0];