How do you pass a variable by value?

Just like in C++, put an ampersand in front of it, like $a = &$b