Suggestion for perltrap addition (regarding null characters in strings)

[email protected] (David H . Gutteridge) Tue, 4 Apr 2006 15:26:02 -0400
Newsgroups perl.documentation
Message-ID <20060404192602.NMQO13653.tomts36-srv.bellnexxia.net@smtp1.sympatico.ca>
Hi all,

From browsing the archives of this list, it looks like this is the
place for me to make a suggestion for a documentation addition.
(Apologies if I'm wrong.)

I think it might be useful to note somewhere in the perltrap docs
that while Perl permits null characters to be embedded in strings,
using such strings in functions which supply arguments to an
external program (e.g. exec and system) may result in unexpected
and undesirable results, as the nulls may be interpreted as string
terminators.

Regards,

Dave