http://qs321.pair.com?node_id=310216

I'm still new to Perl Monks, so I apologize if something like this already exists.

I'm sure there are others like me who don't do perl for a living - we just want to learn. Perhaps some of you Monks with experience can post exercises for people to do.

Something like: "Using XX::XX Module, accomplish the following:" or something. Each exercise would be ranked as Beginner, Intermediate, or Advanced. (I'll stick with Beginner for awhile... ) Just an idea...

phenom

Replies are listed 'Best First'.
Re: Exercises Node
by gjb (Vicar) on Nov 26, 2003 at 12:04 UTC

    Although it's not a bad idea, I'm not sure it would work better. Personally I feel motivated most by problems that suggest themselves in the course of my work (which need not be programming, but problem solving in general).

    Also, many questions are asked in the Monastery, so trying to find an answer would rate as a good exercise IMHO. Since most get answered, you can even check your answer.

    Just my 2 cents, -gjb-

      I agree. I like the idea, but am also pretty sure that the advanced monks will come up with a solution fast, and by doing so, discourage the less advanced monks.

      Some questions in the Seekers of Perl Wisdom section can be qualified as excersices. I tend to learn quite a lot from the replies.

      Then there is the beauty of Open Source Software! Just download a certain script and take it apart. Or just join a project over at Sourceforge. I've seen some great projects there and a lot of them are looking for help.

      And! There is this Golf: New spellings for old names excercise :)

      --
      B10m ... just my 2 euro cents
Re: Exercises Node (anyone for Perl QoTW?)
by grinder (Bishop) on Nov 26, 2003 at 14:39 UTC

    MJD ran a "Perl Quiz of the Week" a few months ago but it petered out, probably due to lack of spare time on his part as much as anything else. It's a pity, because the questions he came up with were very interesting, and he took the time to develop "beginner" and "expert" variations on the question.

    It would be good to see this project revived. Surely there's someone out there with enough tuits to take it over? No doubt mjd has a backlog of questions to get the ball rolling again. The web site can be found at perl.plover.com/qotw.

    Note that one of the reasons the discussion was so interesting was because he didn't specify such-and-such a module, just "here is the problem, solve it". Sometimes the answers involved modules, sometimes not, but in all cases the results were very interesting.

Re: Exercises Node
by valdez (Monsignor) on Nov 26, 2003 at 15:30 UTC

    I think you should look at The Perl Apprenticeship Site, using the words of Dave Rolsky (known here as autarch):

    Way back at OSCON 2001, Adam Turoff (a.k.a. Ziggy) suggested that Perl needed a way to hook up people with lots of skill and experience, but little time, with people who had a desire to learn and free time, but not as much experience. In other words, we needed a Perl apprenticeship site.

    Meanwhile, Ken Williams and I had just started working on the Mason book and we knew we wanted to have an example site as one of our chapters. We also knew we didn't want something like a web store. Boring! And useless too, since neither of us needed a web store. So when Ziggy announced his idea, Ken suggested that we implement it for the book. It helps us because it gives us something to fill Chapter 8, and it helps the Perl community too. Perfect!

    So that's our story. Now it's your turn. If you're someone who has a neat project idea and not enough time to finish, but you think you could guide a few "apprentices", then log in over in the left menu or create a new account.

    If you don't have an idea but you have some free time and a desire to learn, then browse the project listings and see if there's something that interests you.

    Ciao, Valerio

Re: Exercises Node
by chromatic (Archbishop) on Nov 26, 2003 at 17:19 UTC
Re: Exercises Node
by moxliukas (Curate) on Nov 26, 2003 at 13:08 UTC

    The exercises idea is not a bad one. I have been translating some of Perl documentation to Lithuanian and one of the requests from the readers was to provide some exercises.

    However this applies more to the beginners exercises. I find that solving problems and helping other monks helps me a lot in learning. I do understand that most of the questions in the monastery are too difficult for beginners and we might need a special node or section for beginners exercises (but then again... Categorized Questions and Answers is almost liek an exercise book (with answers!)

Re: Exercises Node
by Theo (Priest) on Nov 26, 2003 at 15:24 UTC
    Did you look at the Tutorial section here in the Monastery?

    Update: Also, the Llama book, Learning Perl , is excellent and has exercises at the end of each chapter.

    -theo-
    (so many nodes and so little time ... )
    Note: All opinions are untested, unless otherwise stated

Re: Exercises Node
by davido (Cardinal) on Nov 26, 2003 at 16:38 UTC
    I find an almost endless supply of exercises posted in the form of questions to the Seekers of Perl Wisdom section. Not everything there is of interest to me. But I find at least a few "exercises" to think through and respond to practically every day.


    Dave


    "If I had my life to live over again, I'd be a plumber." -- Albert Einstein
Re: Exercises Node
by bradcathey (Prior) on Nov 27, 2003 at 03:03 UTC
    Eck! Not another distraction, another intimidation. I side with those who state SoPW or our own projects provide enough exercise and stimulation (especially since my goal is just to understand the questions posted on SoPW, let alone be able to answer them ;-)

    I used to think a section for novices (avoided the word newbie) would be nice, as I was afraid to ask seemingly simple questions. However, I have found the more Xp'd monks to be helpful, and gentle in the process (they may be wagging their heads behind the scenes), but the question not asked is the question not answered. My vote is to leave the status quo, but to keep the questions coming.

    —Brad
    "A little yeast leavens the whole dough."
Re: Exercises Node
by hieronymus (Scribe) on Dec 01, 2003 at 13:58 UTC
    When I was first learning Perl, long before I had any of the O'Reilly books, I found this site:

    Robert's Perl Tutorial

    It was one of the best tutorials I have ever come across. It is about as close to Learning Perl on Win32 Systems as I have ever come across. There are plenty of "hands-on" exercises and, like most books of this type, an intro section on Perl's humble beginnings and how-to install a Perl interpreter on your Win32 box. The chapters and exercises are all incredibly easy to follow and the author does a wonderful job of keeping your attention.

    And from the Introduction:

    This tutorial is...


    A basic Perl course primarily for use on Win32 platforms. It assumes that the reader knows nothing of programming whatsoever, but needs a solid grounding for further work. After you finish this course you'll be ready to specialise in CGI, sysadmin or whatever you want to do with Perl.


    Hope this helps...

    -hieronymus