Re: Mix the output?



Davy <zhushenli@xxxxxxxxx> wrote:


> print "The answer is "$cnt1+$cnt2;

> The above code have compile error.

> How to do it?


print "The answer is ",$cnt1+$cnt2;


--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.



Relevant Pages