in reply to newlines for windows from unix
print "Hello\r\nWorld\r\n"; [download]
However, if you are running Perl from Windows, then a simple "\n" will suffice.