in reply to word size
You might find the information available from Config useful. Here's a list of keys with 'size' in the the name:
use Config;; printf "$_ => %s", $Config{ $_ }||'n/a' for grep /size/i, keys %Config +;; charsize => 1 d_chsize => define doublesize => 8 fpossize => 8 gidsize => 4 i16size => 2 i32size => 4 i64size => 8 i8size => 1 intsize => 4 ivsize => 4 longdblsize => 10 longlongsize => 8 longsize => 4 lseeksize => 8 nvsize => 8 ptrsize => 4 shortsize => 2 sig_size => 27 sizesize => 4 sizetype => size_t socksizetype => int ssizetype => int u16size => 2 u32size => 4 u64size => 8 u8size => 1 uidsize => 4 uvsize => 4
intsize & ivsize are probably the most relevant for your purpose.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: word size
by collin (Scribe) on Sep 08, 2005 at 05:00 UTC | |
|
Re^2: word size
by ambrus (Abbot) on Sep 08, 2005 at 21:28 UTC | |
by BrowserUk (Patriarch) on Sep 08, 2005 at 22:16 UTC | |
by ambrus (Abbot) on Sep 08, 2005 at 22:30 UTC | |
by BrowserUk (Patriarch) on Sep 09, 2005 at 00:22 UTC | |
by ambrus (Abbot) on Sep 09, 2005 at 08:11 UTC |