in reply to Re: Quick and portable way to determine line-ending string?
in thread Quick and portable way to determine line-ending string?

Hmm, maybe that can be part of the Config module? See $Config{trnl} which may already be what we want. Hmm, but mine shows "\\012" (literal backslash) on a Windows system, so maybe it's not actually used.
  • Comment on Re: Re: Quick and portable way to determine line-ending string?

Replies are listed 'Best First'.
Re: Re: Re: Quick and portable way to determine line-ending string?
by mr_mischief (Monsignor) on Aug 09, 2001 at 10:30 UTC
    I get the same on Windows (Win98 SE, Perl 5.6.0 ActiveState build 623). I get q{\n} on Linux with 5.6.0 though. However, if it's not dependable, then it certainly can't be used in this sort of case. Perhaps this is something p5p could go over. If I think of it, I'll send an email in the morning. I can't think how to word it right now. ;-)

    Chris