in reply to Re: Where to find info on low level perl internals names?
in thread Where to find info on low level perl internals names?

A scalar cannot contain both of the following at a time: a string of 8 bit chars and a string of 32/64 bit chars

32bit chars? 64bit chars? UTF 16? UTF 32? UTF 64 jkjk?
  • Comment on Re^2: Where to find info on low level perl internals names?

Replies are listed 'Best First'.
Re^3: Where to find info on low level perl internals names?
by ikegami (Patriarch) on Oct 26, 2011 at 06:44 UTC

    32bit chars? 64bit chars?

    32 on 32 bit builds. 64 on 64 bit builds. The format actually allows for 72 bit numbers, but Perl doesn't provide a means of storing and fetching values that large.

    UTF 16? UTF 32? UTF 64

    Are you asking about the format? It's a variable width format based on UTF-8 confusingly called utf8, but it has nothing to do with Unicode. For starters, the highest possible Unicode character is only 0x10FFFF, far less than what utf8 allows. Unicode has a bunch of reserved and private use and whatnot code points, but not these strings. Unicode imposes certain semantics, but not these strings.