First program
- From: dave.j.moore@xxxxxxxxx (Dave Moore)
- Date: Mon, 8 Jan 2007 10:46:37 -0600
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
.
- Follow-Ups:
- Re: First program
- From: usenet
- Re: First program
- Prev by Date: Re: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code
- Next by Date: Re: perl gtk2 tutorial
- Previous by thread: XML READ ERROR
- Next by thread: Re: First program
- Index(es):
Loading