In article <002e01c353a9$54133830$3210a8c0@ORG>, LI NGOK LAM wrote:
> Content-Type: text/plain;
> 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 =
> 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.