In message <OF47CC4F38.CF9B333E-ON8525682E.0054550B@trepp.com>, Ben_Tilly@trepp.com writes: : Is there any possibility of having Perl's chomp() command be modified to : recognize \n, \r, and \r\n as line-endings to chomp? A source of nasty : confusion for people working in a cross-platform environment is when : identical Perl scripts give very different results on the same exact file : depending on whether you are running under *nix or Windows. (Particularly : an issue with Samba because people wind up reading under one system files : created under the other.) Have a look at <URL:http://language.perl.com/ppt/src/nlcvt/nlcvt> for an example of how to do what you want (or at least something similar). GregThread Previous