Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Perl Strings != C strings?

by MidLifeXis (Monsignor)
on Aug 24, 2012 at 18:59 UTC ( #989616=note: print w/ replies, xml ) Need Help??

in reply to Perl Strings != C strings?

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.


Comment on Re: Perl Strings != C strings?
Select or Download Code
Replies are listed 'Best First'.
Re^2: Perl Strings != C strings?
by Mr. Newb (Acolyte) on Aug 24, 2012 at 19:11 UTC
    Of course; my format is the null-terminated string, because I'm familiar with it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989616]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-11-26 00:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls