in reply to File dynamic write operations
print "static text\n"; print 2 + 3, "\n"; # dynamic text print "static text\n";
Or of course you can use a template, with the static text in a template, and placeholders that can be filled with dynamic data. See for example Text::Template, Template::Alloy.
|
|---|