Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I was wondering this, and hoping you could tell me.
First off: I know almost nothing about C, but I do know that C treads a null byte as the end of a string (or whatever those things are called in C). But then how is perl able to have them included in strings? Being written in C, a null byte in a perl string (let's say "abc\x00def") would logically just be "abc", with the "def" part being cut off by C. Yet, that isn't the case. How is that possible? In reply to How is perl able to handle the null byte? by muba
|
|