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. TO_UNIX is, of course, overridable in the Makefile.PL. What do people think? -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Still not king
