Gaal Yahas wrote:
>> How can I know which perl I run, 32-bit or 64-bit?
>
> perl -le 'print ~0'
>
Better:
perl -le 'print "This is a " . 3.2*length(~0) . " bit machine."'
(See, perl has a built-in log_10 function. Kinda.)
--
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/