my $n = IO::Socket::INET.new LocalPort => 20010, Listen => 5;
Or, if I'm remembering correctly:
my IO::Socket::INET $n .= new LocalPort => 20010, Listen => 5;
I really hope I'm remembering correctly. Is this turning into the 'look how great Perl 6 is' thread?