Define the format for your strings, and follow the format on both sides of the FIFO. In perl, \0 is the null character. Also see chr(0). I think that there may also be a way using pack to create a null terminated string.
--MidLifeXis
In reply to Re: Perl Strings != C strings?
by MidLifeXis
in thread Perl Strings != C strings?
by Mr. Newb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |