$int = unpack("N", pack("H8", substr("0" x 8 . "DEADBEEF", -8)));