There are many ways to set a variable's value. I just learnt one more yesterday. If you have others, please add comments # Simple # $ gets the variable, and = will assign it $a = 1 # With Variable Scope # The prepend is the scope, and could be global,