Le Sunday 15 May 2005 02:04, Tom Pfeifer a écrit :
> I don't know where to go with this question.
> If this is the wrong place, please disregard.
>
> I'm trying to learn more about how to connect to the backend with perl, not
> using DBI, just straight perl (pure perl). I feel like an idiot asking
> this question, but I don't seem to understand what the "zero byte"
> terminator is. What is the equivalent ASCII character? Or is perl unable
> to process this "zero byte" terminator?
>
> This is the page I am lookin at in the docs:
> http://www.postgresql.org/docs/8.0/static/protocol-message-formats.html
Zero byte terminator come from C functions, aka character number 0 (not the
0), this is the first (non printable) character in map. I don't know how to
put in a scalar from perl code, maybe "\0".