in reply to Number size equal to one byte
Yes, but not in Perl. Perl stores data in internal types, such as SVs, NVs, and IVs. Since it also tracks other things, such as any magic applied to a variable and the number of references pointing to it, there's not a one to one correspondence between numbers and bytes. Besides that, with Unicode, it's usually not very helpful to think about bytes anyway.
If you could outline what you're attempting to accomplish, perhaps someone would tell you a more Perlish way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Number size equal to one byte
by Abigail-II (Bishop) on Jul 05, 2002 at 09:41 UTC | |
by chromatic (Archbishop) on Jul 05, 2002 at 17:57 UTC |