What does the dollar sign (
Nothing fancy, it just can be used in identifiers, unlike many other languages. That is,
abc$def is a legitimate variable or function name, for example.
$ under the name of a global variable. Again, no magic, just the name of the variable.