use Socket; print "", unpack("N", inet_aton("192.168.11.5")), "\n";