in reply to reliably test integer size for portable bit-fiddling?
Use Config and check the ivsize key:
C:\test>perl -MConfig -E"say $Config{ ivsize }" 8 C:\test>\perl32\bin\perl -MConfig -le"print $Config{ ivsize }" 4
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reliably test integer size for portable bit-fiddling?
by wollmers (Scribe) on Dec 08, 2014 at 20:39 UTC | |
by RonW (Parson) on Dec 08, 2014 at 21:09 UTC | |
by BrowserUk (Patriarch) on Dec 08, 2014 at 20:50 UTC | |
by ikegami (Patriarch) on Dec 10, 2014 at 07:07 UTC |