On Fri, 15 Nov 2002 18:53:43 EST, Michael G Schwern wrote:
>Poking around in the 'dist' MakeMaker target, I figured out what the TO_UNIX
>macro does.  Its a command to convert all the files in the module to Unix
>linefeeds just before its packed up into an archive (your original sources
>are left alone).  On Unix this is obviously a no-op.  On OS/2 it uses a
>trick with zip to convert the linefeeds from \015\012 to \012.
>http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1999-04/msg02177.html
>
>No other platform makes use of this.  It makes sense to auto-convert the
>linefeeds of distributed modules to be polite to older perls which aren't
>multi-linefeed lingual.  Or is it not really an issue anymore?
>
>OTOH, a blind conversion might mess up some file that specifically has to
>have certain linefeeds or is binary.

IIRC, MIME-tools (or maybe it was MailTools) has a testsuite with a
text file that needs to have CRLFs.

>TO_UNIX is, of course, overridable in the Makefile.PL.
>
>What do people think?

I'm not sure what it is we're trying to solve here--has there been
a specific complaint we're trying to address?  "If nothing is
broken, don't fix it" etc.


Sarathy
[EMAIL PROTECTED]

Reply via email to