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 arrayThis is not a general defense of Perl, which is many times absolutely unreadable, but this example is perfectly comprehensible if you actually are trying to write Perl and not superimpose some other language on it.*
Even C gets it's fair share of flack for how it overloads * to mean three different things! (multiplication, pointer declaration, and dereference)