in reply to Network programming using sockets
### Server ######## use IO::All; my $socket = io(':12345')->fork->accept; $socket->print($_) while <DATA>; $socket->close; __DATA__ On your mark, Get set, Go! ##############Here is the client code: use IO::All; my $io = io('localhost:12345'); print while $_ = $io->getline;
Offense, like beauty, is in the eye of the beholder, and a fantasy.
By guaranteeing freedom of expression, the First Amendment also guarantees offense.
|
|---|