[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Odd behavior on die()



D.Thomas@vthrc.uq.edu.au (Danny Thomas) writes:
}
}IMPORTANT QUESTION
}Is there some way we can encourage the CPAN maintainers to prefer network
}modules making use of \015\012 over \r\n ? As mentioned above, it's not
}just a matter of changing all \n's to \012, and it's better if the
}author/maintainer does this. Do any other perl implementations use unusual
}encodings for \r\n ?

Send the author(s) email, or if there's a mailing list for the package, ask
there.  That's what I did with both Gisle Aas and Graham Barr, and there's
not a single instance in libwww-perl-5, and only one in libnet, where
newlines have to be fixed.  The authors are usually willing to change if
they're asked.  The remaining changes that I still have to make are things
like how to specify local paths, or fixing the assumptions that, say,
everyone has an $ENV{HOME} with a .signature in it.

I'd like to see a new type of newline in Perl, perhaps \N, which is
guaranteed to be \015\012 on all platforms.  That would make it easier for
anyone writing to sockets using Internet protocols.

}
}
}Danny Thomas
}
}

---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us