Another simple way to get a newline each time you print is to use perl's -l command-line switch. But then again, it will be more difficult to print anything without a newline if you ever want to (though I suppose you could do it by monkeying with $\).