Hello, this is bronto from perlmonks.org
I had to change several lines to make the Perl/Tk
chatterbox client work. Here you are the diffs:
# diff Chat.pm.dist Chat.pm
61c61
< my
@msgs=($c=~/message\s+author="([^\&quot;]+)"[^>]+>\s*(.*?)\s*<\/message>/g);---
> my
@msgs=($c=~/message\s+[^>]*author="([^\&quot;]+)"[^>]+>\s*(.*?)\s*<\/message>/g);
# diff Users.pm.dist Users.pm
66c66
< my
%users=($c=~/user\s+username="([^\&quot;]+)"\s+user_id="(\d+)"/g);
---
> my %users= reverse
($c=~/user\s+user_id="(\d+)"\s+username="([^\&quot;]+)"/g);
I hope this helps
Cheers
--bronto <bronto@crs4.it>