Next | The Perl Hardware Store | DC.pm Version | 17 |
This nifty trick was invented by Andrew Pimlott
Beginners always want to say this:
$salary = 43_000; print "After your raise, you will make $salary*1.06.\n";
Of course, expressions aren't evalauted inside of strings.
After your raise, you will make 43000*1.06.
continued...
Next | Copyright © 2003 M. J. Dominus |