in reply to Re: Declaring Code Reference With Parameters
in thread code ref

I agree with you, have to rethink the design. The classes in Perl is somehow very awkward, and unusual. It is heavyly hacked, and does not really stands on all the good basics for OO programming.
  • Comment on Re: Re: Declaring Code Reference With Parameters

Replies are listed 'Best First'.
Re: Re: Re: Declaring Code Reference With Parameters
by FamousLongAgo (Friar) on Nov 10, 2002 at 01:34 UTC
    You should take a look at Damian Conway's book on OO programming in Perl - it's both a great introduction for newcomers to the language ( or OO ) and a valuable resource for advanced programmers. The book is dense with good design examples in OO Perl, some of them highly original. It might change your mind about Perl's OO features.

Re^3: Declaring Code Reference With Parameters
by tadman (Prior) on Nov 10, 2002 at 01:30 UTC
    I used to be a bit put off by the way Perl handles OO, but in time, you get used to it, and the inconvenience of various things is no longer an issue. You do, after all, have many conveniences to make up for these.

    In the end, you can get the job done just fine using Perl OO.