If you do
binmode(filehandle);
then subsequent \n's in
print filehandle "blah\n"
will not create \r\n (as DOS wants), but just \n (as Unix wants.)
At 04:10 PM 7/20/2001, Hicks, Matthew wrote:
>Could anyone share how to write a UNIX format file (correct line endings)
>from a script running on NT?
>
>
>_______________________________________________
>Perl-Win32-Admin mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
--
Mike Mirman Tel: (508) 647-7555
The Mathworks, Inc. FAX: (508) 647-7013
3 Apple Hill Drive, Natick, MA 01760-2098
mailto:[EMAIL PROTECTED] Web: http://www.mathworks.com
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin