bakunin has asked for the wisdom of the Perl Monks concerning the following question:

Hello all!

Would you please share some of your (key) experiences with Class::Struct?

Where did you use it? What did you do with it?

Thanks!

Replies are listed 'Best First'.
Re: using Class::Struct
by princepawn (Parson) on Sep 29, 2003 at 20:52 UTC
    I am planning on re-implementing Net::FTP::Common using Class::Struct. But you might also take a look at Class::Struct::FIELDS depending on your requirements.

    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.

Re: using Class::Struct
by jeffa (Bishop) on Sep 30, 2003 at 15:16 UTC
        I think an important criteria for an object module is the support channels. If it is not a simple module, then we need to be assured that we can get rapid help from the author or user community.

        Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.

        Class::MethodMaker and Class::MakeMethods are indeed excellent modules.
        I'm congradulating the authors, and especially, simonm and friends for the excellent documentation provided for the module. But let's set one thing straight. MethodMaker seems more compact than MakeMethods.

        I'll definitely try both. OOP is my addiction anyway... I also want to give credit to Mr Damian Conway.
        In my opinion, he has written one of the best programming books in (programming) history.
        And I am very lucky that, the book is the "Object Oriented Perl." (http://www.manning.com/Conway/) He provides a whole chapter on Class::Struct and Class::MethodMaker.
        I think MakeMethods is written after the book is published!!

        Thank you all!
Re: using Class::Struct
by bakunin (Scribe) on Sep 29, 2003 at 20:21 UTC
    it's me again...

    I mean besides the man page, and the Perl cookbook examples...
    I love OO programming, virtually every type and aspect.
    Structs are very appealling to me, but I feel like there is more
    to it in perl than explained. So I'd like to hear your
    thoughts.

    bakunin