Old Line: $output_ref = \$new_output; # Bad New Line: $$output_ref = $new_output; # Works for me