On Sun, 21 Oct 2001, Nick Ing-Simmons wrote: > Or you could pack it 'Q' (if you have 64 bit perl),
Nope. This code will run on 32-bit systems mostly (I've been running it on x86 and PPC for testing purposes). Why is it that the Perl build scripts generate headers with 'long long' typedef'd as Quad_t (or something like that) but nothing seems to actually use that type? > or store the image as an 8-char SvPV How would I get the value out then? Wouldn't that require an unpack() on the Perl side to get an actual value back out? The stringify approach is what I'm presently using, and though it's ugly, it works. (asprintf() and sscanf() on either end) Derrik Pates | Sysadmin, Douglas School | #linuxOS on EFnet [EMAIL PROTECTED] | District (dsdk12.net) | #linuxOS on OPN