in reply to Re^2: zero fill with pack
in thread zero fill with pack

Works for my (64-bit) Perl ;)

Replies are listed 'Best First'.
Re^4: zero fill with pack
by ikegami (Patriarch) on Jun 22, 2010 at 17:10 UTC
    Yes, but that code was specifically written for "a Perl that doesn't support 64-bit ints (Q)." The bitwise ops (i.e. "&") currently require native integer arguments, and those can be at most 0xFFFFFFFF in such a Perl.