in reply to print real newlines in place of literal ones

Hi

I'm not sure if i understand what you mean.

If you want the literal newlines to be printed try something like this

perl -we 'print qw/Hello\nWorld\n!/' Hello\nWorld\n!
if not simply print out the string as it is.
# perl -we 'print "Hello\nWorld\n!"' Hello World !