My .02 is that you should consider putting it into some "Bot::" or "Net::Bot::" heirarchy. (There are several like this, search CPAN for bot first -- you might find something you want to extend or subclass and you'll want to worry about namespaces clashes there, too.) That seems to make more sense to me, since the behavior of a bot is the more generic part and a bot implemented for IRC seems the more specific.
Also, I'd say just write it first with whatever name you want, and worry about what to rename it to put it on CPAN later. Once it works and once you're convinced it's really a significantly better alternative than other bot solutions, that's the time to worry about a CPAN release.
Personally, I suggest setting aside the advice that says "you should rewrite/extend an existing CPAN module instead of rolling your own". The expression "reinventing the wheel" is tossed around a lot, but few modules on CPAN are really simple enough tools to be considered wheels. Sometimes you need to start from scratch. If you really can make a better tool, go for it!
Code posted by xdg on PerlMonks is public domain. It has no warranties, express or implied. Posted code may not have been tested. Use at your own risk.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||