in reply to Join with more than one EXPR

What's wrong with plain string interpolation?

$d = "$a-${b}_$c";

Alternatively, use the simple string concatenation:

$d = $a . '-' . $b . '_' . $c;

Replies are listed 'Best First'.
Re^2: Join with more than one EXPR
by sesemin (Beadle) on Jan 29, 2009 at 08:04 UTC
    Thanks all, All of your suggestions would work.