in reply to How does one get the name of a passed scalar?

I'm just sick of echo-printing my code like this:
$x = <>; print "x = $x";
So I wanted to have a subroutine which did this:
$x = <>; echo_print $x; # results in "x = (value of $x)";