As we all know, Perl support same name but different type, that means $foo and @foo could be both exist without any violation.
This sounds a smart and nature feature, but from time to time, I suspect if it's useful. During my life, I've never defined 2 different type of variables with same name. Considering perl have to define a special(or maybe huge and complex ) data struct to store glob, if we discard this feature, maybe perl could be faster and simpler?
Just a thought jump into my head, Please enlighten me. Thanks
EDIT: modify title as LanX
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction