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.
In reply to Re: word size
by BrowserUk
in thread word size
by collin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |