my $x = "I am a string"; 
my $refX = \$x; #generate a reference to $x and assign it to $refX
