- De rigeur snarky answer to the question you've asked: yes.
- Somewhat more helpful answer to the question you should have asked: perlintro, and while we're at it, How to RTFM.
- Hand-fed answer:
# update Of course that should be '\' ...
$foo = '/' . $bar;
This is a *very* basic question, any worthwhile introduction to Perl should teach you about string concatenation. Thus, get thee to answer #2 before going *any* further with Perl.
If not P, what? Q maybe?
"Sidney Morgenbesser"