Maybe you want to test your code outside of your irc bot, in a short program that you can also post, so we can also try it to see where it goes wrong?
Also, have you considered Bot::BasicBot or the other Bot modules that CPAN provides instead of rolling your own?
In reply to Re^5: regex not working..
by Corion
in thread regex not working..
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |