[Israel.pm] packing and unpacking large numbers

Yona Shlomo yona at cs.technion.ac.il
Thu Jul 26 07:07:04 PDT 2007


On Thu, 26 Jul 2007, Tal Kelrich wrote:

> On Thu, 26 Jul 2007 15:42:37 +0300 (IDT)
> Yona Shlomo <yona at cs.technion.ac.il> wrote:
>
>> The problem starts, I think in #3: What should be the proper
>> way to do this? I noticed that pack() and unpack() don't
>> have a built in template for long long int.
>
> wait... 'q' and 'Q' don't work for you?

No. I get an error:
 	Invalid type in pack: 'q'

-- 
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/



More information about the Perl mailing list