1 2 3 4
print SOCKET << HTML or warn "Cannot write to socket: $!"; <input type="text">html continues... HTML