$i++ and printf "this is line %s\n", __LINE__; # or.. $i++ and print "this is line ". __LINE__ . "\n";