In addition to other answers, you can use alternative syntax to specify variables:
print "i_ = ${i}_\n";
Note the use of curly braces: { and } to indicate the name of the variable. Whenever in doubt, you can choose this syntax.
Alan Haggai Alavi
source share