There's already an answer for why my % foo;
or my $ string;
both compile in perl, but I was surprised to see that this is also the case when the variable name is itself a function, such as split:
use warnings;
use strict;
my $ split = 'why does this work?';
say $split;
# why does this work?
How can this be the case?