At 7:18 PM 6/29/00, Paul N. Schatz wrote: >$do = 3.4*5.6; >print "3.4*5.6 = $do\n"; # gives 3.4*5.6 = 19.04 >**************** > > Am I correct that there is no way to have the arithmetic occur >within the string? > >For example > >print "3.4*5.6 = `3.4*5.6`\n"; # gives 3.4*5.6 = `3.4*5.6`---Not = 19.04. > Try: print "3.4*5.6 = ", 3.4*5.6, "\n"; or print "3.4*5.6 = ".3.4*5.6."\n"; if you want to concatenate -- - Bruce __Bruce_Van_Allen___bva@cruzio.com__831_429_1688_V__ __PO_Box_839__Santa_Cruz_CA__95061__831_426_2474_W__ # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org