There's more than one way to do things | |
PerlMonks |
Should I go back to basics of keep moving on?by Anonymous Monk |
on Jan 14, 2018 at 21:28 UTC ( [id://1207233]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks, Happy new year to you all. I had tried my hand at pearl a few months ago. I was using "Learning Perl" and had managed to write some scripts that helped me automate part of my work at office. Then I had to focus on other things at work, so I forgot all about Perl. This year, on a whim, I decided to get back to it.Here is what I have tried as of now. Not that this is difficult, but still, to truly test myself, I did not search anything on google, just started typing the script, kept modifying it and kept plodding on. Ex1: Vaguely recalling, "Learning Perl" had an exercise where I had to add elements to a list through a sub routine, and print them out. I modified the exercise so that the script would greet a number and add it to other numbers in the list. If this is the first number, it should be greeted stating something like "Hi, you are the first number". For the other numbers, it should show how many numbers we have in the list, then count them up, and show the sum. Initially I started with just adding the numbers in a list, and it took me some time to recollect how to do it. The other things mentioned above were gradually added, just to test my knowledge retention.
I also tried to recall some basic map and grep stuff:
I am not sure if at this point, I am good enough to start with some intermediate perl. I was planning to start right off with the books - "Intermediate Perl" and "Modern Perl". But with what I know, should I study the basics more and then move ahead? Sort of confused here folks, would appreciate your feedback
Back to
Seekers of Perl Wisdom
|
|