in reply to A Quick OO Module for parsing lines from an IRC connection

sub new { my $shrax = shift; my $class = ref $shrax || $shrax;
Please see ref($proto) - just say no!.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: A Quick OO Module for parsing lines from an IRC connection
by SoupNazi (Acolyte) on Aug 26, 2005 at 14:04 UTC
    Your suggestions have been duly noted. And, since I never would have been able to Learn Perl had it not been for the books you helped author I sincerely appreciate your advice. I am concerned though, about the state that the constructor is in now. It stil compiles and it also is scalable enough to provide for inheritance but I am wondering if there is something else I could do with it to improve it. Any thoughts?
      Howdy!

      May I recommend the book Perl Best Practices by TheDamian? It offers well considered and reasoned recommendations, with examples and explanations, in many areas of Perl usage, including module creation and OO style.

      yours,
      Michael

        Michael, I saw that book in Borders earlier this week. I'll take a closer look at it. Thanks!

        Regards,
        SoupNazi

        Visit us at irc.crazylogic.org #apartment411
        D A R K E M P I R E s u b n e t w o r k