Hello list- I've recently decided to learn a programming language, and for reasons beyond the scope of this post I chose Perl. I've read some books, and I decided to make a dice-rolling IRC bot. I wanted to use POE::Component::IRC because it looks really cool.. unfortunately I don't know very much about Object Oriented Perl. (Alpaca book is in the mail ;) So, in the meantime, I pulled the example program from the POE::Component::IRC page on CPAN [1] and modified it to suit my needs. I believe that this is allowed by the license, however if I've done something I shouldn't please correct me :D
I suppose what I'm looking for is a critique of my program. (Really, just my subroutine, as the rest is pretty much unmodified) Code is at [2], my subroutine is highlighted (&roll) Thanks in advance for any help. [1] http://search.cpan.org/~bingos/POE-Component-IRC-5.18/lib/POE/Component/IRC.pm [2] http://pastebin.mozilla.org/2659 -- ========== A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -Heinlein This message copyright (c) 2004-2007 David J Moore -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/