- or download this
use feature 'state';
use Time::HiRes;
...
use Fcntl ':flock';
use strict;
no strict 'refs';
- or download this
if($buffer =~ /^SENDMESSAGE$digest\|(.*?)$/){
my $what = $1;
...
}elsif($touser eq "" && $room eq "" && $kind
+ ne "PRVMESSAGE") { sendToSocket($message, {});
}
next;
- or download this
sub sendToSocket {
my( $data, $params ) = @_;
...
}
}
}