|Perl Monk, Perl Meditation|
Perl and data types (use Config;)by Nr1culprit (Initiate)
|on Jul 17, 2008 at 15:12 UTC||Need Help??|
Nr1culprit has asked for the
wisdom of the Perl Monks concerning the following question:
I have this script that I use when I need to check perl's data type size in whatever machine I sit on (see below).
As you can see, it uses Config to report integers and double.
Does anybody know how to ask about single precision? Hint: it is not singlesize or floatsize.
Update:I got it to work just fine with pc88mxer suggestion.
In case you are interested, my little script now looks like this:
Previous content restored and update tag added by GrandFather