Hello,
I was confront  with a such question: how to define the strings, which
should be interpolated every time when it met?

For example, this code

$var1 = "one";
$str = "number $var1, ";
print $str;

$var1 = "two";
print $str;

produce "number one,  number one" to the output. But what I must to do, that
output would be
"number one, number two" ??

Best regards,
  KYu



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to