in reply to Re: Re: Re: Re: Re: 64 bit pointer to string
in thread 64 bit pointer to string
ad A) it works ;-)
ad B) I know that, but I had more problems with that than without
I'm using:
never failed so far.my $BIG_ENDIAN = unpack("h*", pack("s", 1)) =~ /01/; if($BIG_ENDIAN) { print STDERR "[big endian]\n" if $debug; } else { print STDERR "[little endian]\n" if $debug; }
Thanks!
|
|---|