Unless you have done binmode STDOUT, you can print "\n" and it will print the appropriate newline for your system, including those with a two character newline (CP/M and DOS use "\x0D\x0A").
Also, why use chr 0x0a instead of the shorter chr 10?
In reply to Re: Re: perl puzzle - cartoon couple registry (beginner, semi-golf)
by Util
in thread perl puzzle - cartoon couple registry (beginner, semi-golf)
by boo_radley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |