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.
| [reply] |
Re: perl final exam on 13 of december
by Zaxo (Archbishop) on Nov 21, 2004 at 01:51 UTC
|
| [reply] |
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
| [reply] |
|
Yup, that book's old, but still very relevant. Hey, merlyn, when do we see a second edition? :-)
| [reply] |
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
| [reply] |
|
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).
| [reply] |
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).
| [reply] |
|
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.
| [reply] |
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! | [reply] |
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.
| [reply] |