On Mon, 5 Feb 2001, Fernando Trias wrote:

> But on Windows, if you print "\n", it will write out a <cr><lf>. To prevent
> that, use "binmode".

I've never used Windows.  But if I did, and I said

   my $s = "abc\ndef";
   print length($s);

would I get 7, or 8?  Wouldn't this cause real problems for
the substr() function?

--
Ron Newman       [EMAIL PROTECTED]
URL: http://www2.thecia.net/users/rnewman/

Reply via email to