Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Using objects is easy, if you know the secret: you're just telling something what to do. Think of it like sending a message. You want to tell me to go home? $chromatic->go('home');

    Programming objects is a little more difficult, but if you read perlboot and perltoot, you'll have the basics.

  • I really didn't find perlboot and perltoot all that useful, back when I was trying to learn thins stuff. So I went to the university library and looked at all the books about OOP. That was astonishingly unproductive. However, in some book (I think it was Adele Goldberg [] (an autodidact herself!) and Kenneth Rubin's Succeeding with Objects [] ) there happened to be a two or three page synopsis of basically what object-orientation means. And that explained it all to me. It's nice to occasionally find a speck
    • See, I think I understand the basic concept: Data structure(s) and ways to deal with said data structure(s) shrink-wrapped together in kind of an inseparable package. Said package can be duplicated, duplicated with frills, duplicated without certain things, duplicated just for the sake of having another one, etc.

      The trick now is fiddling around and seeing where my mental model of OO is somehow wrong, then playing around with it and some OO code until it's fixed.


      You are what you think.