In article <[EMAIL PROTECTED]>, LI NGOK LAM wrote: > ------=_NextPart_000_002B_01C353EC.615A7010 > Content-Type: text/plain; > charset="big5" > Content-Transfer-Encoding: quoted-printable > > Is that any module can help to detect what is the right new line = > declaration for the=20 > current system ? Somwhat if the system is detected be Windows, the = > newline > declaration is "\n", for *nix, is "\r\n" , for Mac and etc.
This is covered in detail in "perldoc perlport" with Perl 5.8. Search for the string "Newline" in the documentation and start reading. Mark -- http://mark.stosberg.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]