I'm having problems creating output files that have UNIX line breaks. I assumed that setting $\ to "\x0a" and then printing each line to a filehandle would result in the desired effect, but it didn't; for some inexplicable reason I wound up with DOS linebreaks instead. So I tried the following and got a baffling response when running it from within the MacPerl 5.1.9r4 app: #!perl -w use strict; print ord($\); # Use of uninitialized value. File 'Untitled'; Line 4 Is $\ not automatically pre-initialized? If not, and since just setting it to \x0a doesn't seem to be resulting in the desired effect, how do I define output linebreaks to be \x0a instead of \x0d\x0a? Stephan ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch