Why not simply use -1?
$ perl -MDP -we'DHexDump pack ("N", -1)' 0000 ff ff ff ff .... $ perl -MDP -we'DHexDump pack ("Q", -1)' 0000 ff ff ff ff ff ff ff ff ........
In reply to Re^4: Why is pack("N",42949672965) giving me 00 00 00 05
by Tux
in thread Why is pack("N",42949672965) giving me 00 00 00 05
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |