To set a variable, use the = operator.
# Setting scalar variables. $var = "Text"; $number_var = 44.5; print $var; print $number_var;