Welcome to the Monastery | |
PerlMonks |
Re: Homework question listby TedPride (Priest) |
on May 21, 2005 at 07:26 UTC ( [id://459204]=note: print w/replies, xml ) | Need Help?? |
Just browse the boards every day and try to solve the more algorithmic-style questions without looking at the code people have posted. Then compare your code to theirs. A week or two of this will give you a fairly good grasp of Perl. By the way, the simplest way to remove trailing newlines from an array is: You could also use chop, substr, or s///, but chomp has the best combination of speed and flexibility for this task.
In Section
Seekers of Perl Wisdom
|
|