> [EMAIL PROTECTED] - Thu Nov 18 23:18:09 1999]: > > Is there any possibility of having chomp() be modified to recognize \n, \r, > and \r\n as line-endings to chomp?
Do you mean that chomp(), rather than being equivalent to: s{$/\z}{}; should be: s{(\r|\n|\r\n)\z}{}; ?