--- Adam Kennedy <[EMAIL PROTECTED]> wrote: > So I'd like to propose the following for inclusion. > > Metric: consistent_newlines > > The distribution is awarded a point IF for ALL text files within the > distribution EACH file contains EITHER exclusively unix newlines OR > exclusively Win32 newlines.
Sounds like a good idea, but what about strings? You'd need to mask those out prior to the test, wouldn't you? And if they were multi-line strings, you'd need to mask 'em out with the right type of ending (unless PPI were being used). Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/