Wow! I totally missed that. Yes, it is amazing how one line can achieve so much. Even as a beginner, I feel that I pressure myself to keep my code as concise as possible, thus, I like to achieve a lot with little code, though it does get confusing at times. Your breakdown of the program is very detailed and helpful! I was eager to try the program myself, so I installed the recommended module, copied the code and ran it. I did not have words installed, so I took care of that as well. The output is not as expected. I tried Steve's one-liner below and that works correctly for what it is supposed to do. But the output for your program is below:
In reply to Re^8: Recomendations For Learning perl?
by adamZ88
in thread Recomendations For Learning perl?
by adamZ88
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |