Newline independence?

2002-02-17 Thread Peter N Lewis
Is there any good way to read a file in a way that is independent of the newlines used in that file? Mac typically uses CR line endings. Unix typically uses LF line endings. And DOS Network (eg HTTP, FTP, etc) typically use CRLF line endings. Ideally, it would be possible to set $/ to

Re: Newline independence?

2002-02-17 Thread Chris Devers
On Mon, 18 Feb 2002, Peter N Lewis wrote: Does anyone know a good trick? Would it be worth skimming over the source code for a text editor for ideas? Vim can handle pretty much any line endings scheme you throw at it, and I'd assume Emacs can too. Maybe it would help you to look over what

Re: Newline independence?

2002-02-17 Thread Dan Kogai
On 2002.02.18, at 14:47, Chris Devers wrote: On Mon, 18 Feb 2002, Peter N Lewis wrote: Does anyone know a good trick? Would it be worth skimming over the source code for a text editor for ideas? Vim can handle pretty much any line endings scheme you throw at it, and I'd assume Emacs can

postgres - dbi

2002-02-17 Thread allan
i have installed postgreSQl on osX. now im hoping to use the DBD::Pg having run Makefile.PL for DBD-Pg-1.01, i do: % make then i get this message: please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB ! so i guess i have to: setenv POSTGRES_INCLUDE something_i_dont_know