in reply to Perl/Tk Chatterbox Client
These patches fix the Perl/Tk chatterbox client (or so it would seem).
Please test and let me know if there are any problems.
-
Fixed Getopt::Long exception when monkchat is run with
the '--debug' or '-d' option:
Call to open2() passed command line arguments as list, appending the '-s' and optional '-d' switches as a single string ("-s -d"). When open2() is called with a list of command line args, the shell's word splitting doesn't take place, so "-s -d" is parsed as option switch '-s' with value '-d'.Unknown option: s -d Bad options! at ./latest_chat.pl line 106. - Fixed XML parsing patterns in both Chat.pm and monkchat to accomodate recent changes to the chatterbox XML ticker output.
- Made a few changes to style to make some of the code easier to read. This is probably an evil thing to do, my apologies.
- Localized $_ in a few places where it looked like it needed to be done.
- Fixed pet peeve: "Noone" is not a word. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl/Tk Chatterbox Client
by parv (Parson) on Mar 19, 2006 at 20:05 UTC |
In Section
Code Catacombs