melo / codebits

Presentations and projects done at SAPO Codebits

melo (author)
Wed Nov 19 03:55:06 -0800 2008
commit  d6805095a076b39f6abad2c9626a73a403564ab2
tree    22dcb26e2ed218a9f98dbeb4393054856c0c7de9
parent  c9ababa3eba82c25a2e4ac4d0aeaf78df1093df8
codebits / 2008 / xmpp-hands-on / bots / process_sync / process_sync-1.pl
100755 28 lines (17 sloc) 0.333 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env perl
 
package ProcessSync;
 
use strict;
use warnings;
use base 'Bot';
 
 
package main;
 
use strict;
use warnings;
 
my $bot = ProcessSync->new(
  jid => 'sync1@test.simplicidade.org',
  password => 'teste',
  host => '127.0.0.1',
  port => 5222,
  
  http_port => 3005,
);
$bot->start;
 
 
ProcessSync->run;