批踢踢實業坊
›
看板
Perl
關於我們
聯絡資訊
返回看板
作者
micchiu (PP )
看板
Perl
標題
[問題] 關於pack unpack 64 bit integer的問題
時間
Wed Apr 2 17:40:55 2008
請問若是我想 pack一個64 bit的integer, 除了拆成兩個32bit的來存以外, 是否有辦法可以在32bit的機器上強制直接用 "Q"這個type? eg. my $format = "Q"; my $pack_a = pack("$format", "1234567890123"); --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.248.4.112