Guest User

Untitled

a guest
Aug 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.16 KB | None | 0 0
  1. use IO::Socket;
  2.  
  3. my $socket = IO::Socket::INET->new ( PeerAddr => 'irc.majestic.net', PeerPort => '6667', Proto => 'tcp' );
  4.  
  5. while (<$socket>)
  6. {
  7.     print $_;
  8. }
Add Comment
Please, Sign In to add comment