SV *hexDump( UV in ) { int i; char *p = (char*)∈ SV *out = newSVpvn( "", 0 ); for( i=0; i<8; ++i ) { sv_catpvf( out, "%02x", p[i] ); } return out; }