Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

perl final exam on 13 of december

by flying_postman (Novice)
on Nov 21, 2004 at 01:34 UTC ( [id://409305]=perlquestion: print w/replies, xml ) Need Help??

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

Hello I recently,posted a couple of weeks ago the title "student in trouble". I would like update everyone. The final exam is a perl program we have to code in class (for 25%).The assignments are in class not take home as I thought(for 20%).I am practicing/studying hard. Can anyone point me to any SIMPLE perl scenarios/case studies for me to try out. (still trying to get a hang of this)

Replies are listed 'Best First'.
Re: perl final exam on 13 of december
by Fletch (Bishop) on Nov 21, 2004 at 01:43 UTC

    Find a copy of The Perl Cookbook and the source for the examples therein (see ora.com for both). That's got a nice variety of fairly simple yet idiomatic short samples.

Re: perl final exam on 13 of december
by Zaxo (Archbishop) on Nov 21, 2004 at 01:51 UTC

    You might try browsing the Perlmonks Q&A and Tutorials sections.

    After Compline,
    Zaxo

Re: perl final exam on 13 of december
by QM (Parson) on Nov 21, 2004 at 04:50 UTC
    Effective Perl Programming - The first 20 pages did more for me than 3 O'Reilly books (not that they don't have their uses :).

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      Yup, that book's old, but still very relevant. Hey, merlyn, when do we see a second edition? :-)
Re: perl final exam on 13 of december
by zentara (Archbishop) on Nov 21, 2004 at 14:57 UTC
    I'm assuming you are doing your work on a computer, as opposed to paper and pencil question. I would say spend your time going thru all the perldocs available. They are full of example code and good solutions. The difficult part is to know which perldoc to look for, for which question. So spend a few hours just looking thru them, noting which ones contain examples of whatever. Is your teacher not allowing you to use perldoc during a test?

    P.S. I'm a big believer now in "open-book" testing. It's more important to know how to "use information" than it is to "memorize information".


    I'm not really a human, but I play one on earth. flash japh
      Thanks for the advice everyone, I already have the "camel book" and yes the test is on a computer. I am just practicing as hard as possible and I doubt we can use the perldoc in the exam (but I my ask him).
Re: perl final exam on 13 of december
by theorbtwo (Prior) on Nov 21, 2004 at 12:01 UTC

    One thing to do is try reading seekers of perl wisdom, and solving other people's problems. Then, look at the solutions other people have posted. Some of the questions, you'll find, are well-asked, the kind of thing you're likely to see on a test. Some of the questions are, well, not. Seeing this will help clarify your thought processes, which will help you whenever you're trying to reason -- inlcuding on a test. For a purticularly nice problem, try A list of warnings by category -- from the point of view of a coding question.


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

      One thing to do is try reading seekers of perl wisdom, and solving other people's problems.

      That's an excellent answer. I'd also offer that few professors in undergrad classes test for things they didn't cover in class. You should go back through all your notes and do the work therein again. And if you don't have enough confidence in your own notes, ask a classmate to meet you at the copy shop and swap notes so you have another set from which to work.

Re: perl final exam on 13 of december
by csuhockey3 (Curate) on Nov 21, 2004 at 06:22 UTC
    I'm a huge O'Reilly fan, so I second The Perl Cookbook suggestion by by fletch. I would hope you have the camel by now -- also the Nutshell book isn't too bad either. Both have quick, concise and complete Q&A type exaples. Good luck!
Re: perl final exam on 13 of december
by bronto (Priest) on Nov 22, 2004 at 11:49 UTC

    If you already know some Perl, I'd suggest you to buy samtregar's Writing Perl modules for CPAN. I read it for writing a review for an Italian magazine, and I liked so much the way it explained how to write good modules that I bought a copy to gift it to a colleague!

    Maybe you don't need it yet, but if you are going to write more perl, you are going to.

    Ciao!
    --bronto


    In theory, there is no difference between theory and practice. In practice, there is.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://409305]
Approved by dorko
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found