Hacker News new | ask | show | jobs
by edoceo 2180 days ago
I think shells did $ for vars first, then Perl added @ and % for arrays and hashes (and then $ was refs)
1 comments

$string was in BASIC. I'm sure it's even older, though (the oldest BASIC I've used is GWBASIC).
I thought BASIC had $ at the end, not at the start? It has been a long time since those days, though.