On Dec 12, 2007 1:00 AM, jeff pang <[EMAIL PROTECTED]> wrote: snip > You can add a "\n" (or "\r\n" on windows,etc) at the end of each > element in the array,like, snip
In Perl, "\n" is not linefeed, it is the newline character. It translates to the proper sequence of characters on each operating system, so "\r\n" on a Win32 system is actually three bytes: 0x0d, 0x0d, and 0x0a. You can find more information in perldoc perlport under Newlines in the ISSUES section or http://perldoc.perl.org/perlport.html#Newlines -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/