in reply to $ variables in command line
Update: yup. perl -e"$foo = 3; print $foo;" demonstrates.
I see kvale pointed out a solution below.