in reply to adding non printable characters in perl's print function
This outputs#!/usr/bin/perl use strict; print ":Hello \x0D\x0A world:\n";
Note that this is all a bit system-dependent, as \n represents only a LF on Unix-type systems (which add an implicit CR), only a CR on (pre-OS X) Macs (which add an implicit LF), and CRLF on Windows. So it's probably best to just use \n instead of mucking about with the literal control characters anyhow.:Hello world:
|
|---|