From: "EXTERN Chakirov Timour \(TZ CIS; DS/ESQ3\)" <[EMAIL PROTECTED]>
> I wrote an utility which is working uder unix and win environment. It
> reads some input data file and write results in output files. I want
> to get result files having only LF at the end of the line
> independently from platform. How could I control new line format
> (\n)in perl?

open OUT, '>', $outputfile or die "Can't create $outputfile : $!\n";
binmode(OUT);

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to