In fairness, Perl died because it was just not a good language compared to others that popped up after its peak. Sometimes people just move to the better option.
replies(8):
my @var = @array # copy the array
my $var = @array # return the count of elements in array