http://www.perlmonks.org?node_id=99419

P0w3rK!d has asked for the wisdom of the Perl Monks concerning the following question:

I have 2 variables as follows:
<CODE> $TESTVAL = "~" & `echo ${USER}` & "/foo";
How do I get $TESTVAL = ~chris/foo ?
I've tried eval, etc. w/o luck
Thanks... :)