In other languages this is solved by naming variables appropriately. There would be no variable &quot;x&quot; because it&#x27;s a bad name. It would be something like coefficient-of-friction which is clearly a scalar. Having to write a symbol to denote that it&#x27;s a scalar is superfluous. This explains why Perl code looks so messy, by the way. The language itself encourages poor variable naming.