# the '0' lets the kernel pick the next unused port my $local = sockaddr_in(0, $local_host);