Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use AnyEvent::XMPP::Client;
  4. use AnyEvent;
  5.  
  6. my $cl = AnyEvent::XMPP::Client->new;
  7. $cl->add_account ($ARGV[0], $ARGV[1], $ARGV[2], undef, undef);
  8. $cl->start;
  9. $cl->send_message ($ARGV[4], $ARGV[3], undef, undef);
  10. $cl->disconnect(Done);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement